From 30559a061054dd70e59ced40e0c565269f94efba Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Wed, 13 Jun 2012 17:10:15 -0400 Subject: [PATCH] scons: also set LINKFLAGS/LDFLAGS up front to ensure they are used in configure checks --- SConstruct | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 3efef7ad2..e35b3e412 100644 --- a/SConstruct +++ b/SConstruct @@ -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