Fix shared library lookup on Mac OS X when running tests

This commit is contained in:
Andres Amaya Garcia 2018-03-27 19:57:58 +01:00
parent 9b2c5b7202
commit aa3ff98b1d

View File

@ -11,6 +11,7 @@ die "$0: no test suite found\n" unless @suites;
# in case test suites are linked dynamically # in case test suites are linked dynamically
$ENV{'LD_LIBRARY_PATH'} = '../library'; $ENV{'LD_LIBRARY_PATH'} = '../library';
$ENV{'DYLD_LIBRARY_PATH'} = '../library';
my $prefix = $^O eq "MSWin32" ? '' : './'; my $prefix = $^O eq "MSWin32" ? '' : './';