scons: also set LINKFLAGS/LDFLAGS up front to ensure they are used in configure checks
This commit is contained in:
parent
9adff38041
commit
30559a0610
1 changed files with 2 additions and 1 deletions
|
@ -1011,8 +1011,9 @@ if not preconfigured:
|
||||||
env['CPPPATH'] = ['#include', '#']
|
env['CPPPATH'] = ['#include', '#']
|
||||||
env['LIBPATH'] = ['#src']
|
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(CXXFLAGS = env['CUSTOM_CXXFLAGS'])
|
||||||
|
env.Append(LINKFLAGS = env['CUSTOM_LDFLAGS'])
|
||||||
|
|
||||||
### platform specific bits
|
### platform specific bits
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue