Last-Update: 2012-12-31 Author: Dmitry Smirnov Forwarded: not-needed Description: use LDFLAGS from system environment --- a/SConstruct +++ b/SConstruct @@ -295,9 +295,9 @@ env['CXX'] = os.environ['CXX'] if os.environ.has_key('CXXFLAGS'): env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) if os.environ.has_key('LDFLAGS'): - env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) + env['__RPATH'] += SCons.Util.CLVar(os.environ['LDFLAGS']) # windows or *nix? if sys.platform == 'win32': print "compiling on Windows"