Use lib as library path in unit tests.

This commit is contained in:
Jussi Pakkanen
2015-02-16 01:24:58 +02:00
parent 22c23ee1fb
commit 1ab5b850ef
2 changed files with 2 additions and 2 deletions

View File

@ -45,7 +45,7 @@ def run_test(testdir, should_succeed=True):
os.mkdir(test_build_dir)
os.mkdir(install_dir)
print('Running test: ' + testdir)
gen_command = [sys.executable, meson_command, '--prefix', install_dir, testdir, test_build_dir] + extra_flags
gen_command = [sys.executable, meson_command, '--prefix', install_dir, '--libdir', 'lib', testdir, test_build_dir] + extra_flags
p = subprocess.Popen(gen_command)
p.wait()
if not should_succeed: