diff options
-rw-r--r-- | SConstruct | 2 | ||||
-rw-r--r-- | source/blender/makesdna/intern/SConscript | 1 | ||||
-rw-r--r-- | source/blender/makesrna/intern/SConscript | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 05d24c88431..45c9ae3b84d 100644 --- a/SConstruct +++ b/SConstruct @@ -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 diff --git a/source/blender/makesdna/intern/SConscript b/source/blender/makesdna/intern/SConscript index de84f6f8ab8..50c26eb6732 100644 --- a/source/blender/makesdna/intern/SConscript +++ b/source/blender/makesdna/intern/SConscript @@ -64,6 +64,7 @@ if sys.platform != 'cygwin': makesdna_tool.Append (CPPDEFINES = defines) makesdna_tool.Append( CFLAGS = env['CFLAGS']) makesdna_tool.Append( CCFLAGS = env['CCFLAGS']) +makesdna_tool.Append( LINKFLAGS = env['PLATFORM_LINKFLAGS']) targetdir = normpath(root_build_dir+'/lib') if not (root_build_dir[0]==os.sep or root_build_dir[1]==':'): diff --git a/source/blender/makesrna/intern/SConscript b/source/blender/makesrna/intern/SConscript index 192923fb4b6..28151fe5db1 100644 --- a/source/blender/makesrna/intern/SConscript +++ b/source/blender/makesrna/intern/SConscript @@ -191,6 +191,7 @@ makesrna_tool.Append (LIBPATH = libdir) makesrna_tool.Append( CFLAGS = env['CFLAGS']) makesrna_tool.Append( CCFLAGS = env['CCFLAGS']) +makesrna_tool.Append( LINKFLAGS = env['PLATFORM_LINKFLAGS']) if env['BF_PROFILE']: makesrna_tool.Append (LINKFLAGS = env['BF_PROFILE_FLAGS']) |