From d2fdeb3a9a0af83a07aad2e66a1e1e1669b628e4 Mon Sep 17 00:00:00 2001 From: Christopher Dunn Date: Thu, 14 Jun 2007 19:32:40 +0000 Subject: [PATCH] LD_LIBRARY_PATH needed for linux build tests. (Really, passing -Wl,-rpath to the linker would be better, but scons is not good about automating that.) --- SConstruct | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SConstruct b/SConstruct index e32ed90..d0dfd80 100644 --- a/SConstruct +++ b/SConstruct @@ -77,6 +77,8 @@ elif platform == 'mingw': elif platform == 'linux-gcc': env.Tool( 'default' ) env.Append( LIBS = ['pthread'], CCFLAGS = "-Wall" ) + LD_LIBRARY_PATH = os.environ.get('LD_LIBRARY_PATH', '') + os.environ['LD_LIBRARY_PATH'] = "%s:libs/linux-gcc" %LD_LIBRARY_PATH else: print "UNSUPPORTED PLATFORM." env.Exit(1)