blob: 0de9c2abd27f6f6f76a1a17e3c0d94cc7d3b7337 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
Last-Update: 2012-12-31
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
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"
|