diff options
author | Dmitry Smirnov <onlyjob@member.fsf.org> | 2013-05-25 08:09:27 +1000 |
---|---|---|
committer | Dmitry Smirnov <onlyjob@member.fsf.org> | 2013-05-25 08:09:27 +1000 |
commit | 49766aced1299d781db0f9b7a200472720768fe5 (patch) | |
tree | 8f6ff9bffe61ec3e21fd47faf34fd9417cfed817 /debian/patches/LDFLAGS.patch | |
download | d2x-rebirth-49766aced1299d781db0f9b7a200472720768fe5.tar.gz d2x-rebirth-49766aced1299d781db0f9b7a200472720768fe5.tar.bz2 d2x-rebirth-49766aced1299d781db0f9b7a200472720768fe5.zip |
Initial commit
Diffstat (limited to 'debian/patches/LDFLAGS.patch')
-rw-r--r-- | debian/patches/LDFLAGS.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/LDFLAGS.patch b/debian/patches/LDFLAGS.patch new file mode 100644 index 0000000..0de9c2a --- /dev/null +++ b/debian/patches/LDFLAGS.patch @@ -0,0 +1,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" |