scons: also set LINKFLAGS/LDFLAGS up front to ensure they are used in configure checks

This commit is contained in:
Dane Springmeyer 2012-06-13 17:10:15 -04:00
parent 9adff38041
commit 30559a0610

View file

@ -1011,8 +1011,9 @@ if not preconfigured:
env['CPPPATH'] = ['#include', '#']
env['LIBPATH'] = ['#src']
# set any custom cxxflags to come first
# set any custom cxxflags and ldflags to come first
env.Append(CXXFLAGS = env['CUSTOM_CXXFLAGS'])
env.Append(LINKFLAGS = env['CUSTOM_LDFLAGS'])
### platform specific bits