Skip to content

Commit d2fdeb3

Browse files
committed
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.)
1 parent e0d7224 commit d2fdeb3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

SConstruct

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ elif platform == 'mingw':
7777
elif platform == 'linux-gcc':
7878
env.Tool( 'default' )
7979
env.Append( LIBS = ['pthread'], CCFLAGS = "-Wall" )
80+
LD_LIBRARY_PATH = os.environ.get('LD_LIBRARY_PATH', '')
81+
os.environ['LD_LIBRARY_PATH'] = "%s:libs/linux-gcc" %LD_LIBRARY_PATH
8082
else:
8183
print "UNSUPPORTED PLATFORM."
8284
env.Exit(1)

0 commit comments

Comments
 (0)