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.)

This commit is contained in:
Christopher Dunn 2007-06-14 19:32:40 +00:00
parent e0d7224804
commit d2fdeb3a9a

View File

@ -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)