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 420f0ccdfd
commit 79db933fb6

View file

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