summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJF Bastien <github@jfbastien.com>2016-05-05 15:54:17 -0700
committerJF Bastien <github@jfbastien.com>2016-05-05 15:54:17 -0700
commit4dfa39338f188ff8e70b8b796dc61d89aadfd3b0 (patch)
tree3c183459394f61814b980d77b491523a325786d4
parent1d267ad1ecf7e9fd5ea6b22679beeb82585723f0 (diff)
downloadbinaryen-4dfa39338f188ff8e70b8b796dc61d89aadfd3b0.tar.gz
binaryen-4dfa39338f188ff8e70b8b796dc61d89aadfd3b0.tar.bz2
binaryen-4dfa39338f188ff8e70b8b796dc61d89aadfd3b0.zip
Fix LD_LIBRARY_PATH (#441)
It needs to be concatenated, not overwritten.
-rwxr-xr-xauto_update_tests.py2
-rwxr-xr-xcheck.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/auto_update_tests.py b/auto_update_tests.py
index 7162bd8fd..d435dcdaf 100755
--- a/auto_update_tests.py
+++ b/auto_update_tests.py
@@ -2,7 +2,7 @@
import os, sys, subprocess, difflib
-os.environ['LD_LIBRARY_PATH'] = 'lib' # find our dynamic libraries
+os.environ['LD_LIBRARY_PATH'] += os.pathsep + 'lib' # find our dynamic libraries
print '[ processing and updating testcases... ]\n'
diff --git a/check.py b/check.py
index 4a8a0c7a5..1cc3eea17 100755
--- a/check.py
+++ b/check.py
@@ -49,7 +49,7 @@ WATERFALL_BUILD_DIR = os.path.join(BASE_DIR, 'wasm-install')
BIN_DIR = os.path.abspath(os.path.join(WATERFALL_BUILD_DIR, 'wasm-install', 'bin'))
os.environ['BINARYEN'] = os.getcwd()
-os.environ['LD_LIBRARY_PATH'] = 'lib' # find our dynamic libraries
+os.environ['LD_LIBRARY_PATH'] += os.pathsep + 'lib' # find our dynamic libraries
def fetch_waterfall():
rev = open(os.path.join('test', 'revision')).read().strip()