SCons: Proper solution for local symbols map
Configuration used to override the link flags, it better restore them once the configuration is done.
This commit is contained in:
@@ -860,9 +860,11 @@ if B.targets != ['cudakernels']:
|
||||
from FindUnorderedMap import FindUnorderedMap
|
||||
|
||||
conf = Configure(env)
|
||||
old_linkflags = conf.env['LINKFLAGS']
|
||||
conf.env.Append(LINKFLAGS=env['PLATFORM_LINKFLAGS'])
|
||||
FindSharedPtr(conf)
|
||||
FindUnorderedMap(conf)
|
||||
conf.env['LINKFLAGS'] = old_linkflags
|
||||
env = conf.Finish()
|
||||
|
||||
# End of auto configuration
|
||||
|
Reference in New Issue
Block a user