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 504ac5c884
commit 28d97e1dfc

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" ? '' : './';