Fix shared library lookup on Mac OS X when running tests
diff --git a/tests/scripts/run-test-suites.pl b/tests/scripts/run-test-suites.pl
index b91355d..5b55fac 100644
--- a/tests/scripts/run-test-suites.pl
+++ b/tests/scripts/run-test-suites.pl
@@ -11,6 +11,7 @@
 
 # in case test suites are linked dynamically
 $ENV{'LD_LIBRARY_PATH'} = '../library';
+$ENV{'DYLD_LIBRARY_PATH'} = '../library';
 
 my $prefix = $^O eq "MSWin32" ? '' : './';