From: Ben Pfaff Date: Sun, 10 Jul 2011 22:24:45 +0000 (-0700) Subject: tests: Fix Perl module tests on Mac OS X. X-Git-Tag: v0.7.9~217 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45268663505dbadb421f1194a16eff920ba26327;p=pspp-builds.git tests: Fix Perl module tests on Mac OS X. Tested by Jeremy Lavergne . --- diff --git a/tests/perl-module.at b/tests/perl-module.at index 15ed6c2d..b24278b7 100644 --- a/tests/perl-module.at +++ b/tests/perl-module.at @@ -5,8 +5,12 @@ dnl built (with "make") but before it has been installed. The -I options are dnl equivalent to "use ExtUtils::testlib;" inside the Perl program, but it does dnl not need to be run with the perl-module build directory as the current dnl working directory. +dnl +dnl XXX "libtool --mode=execute" is probably better than setting +dnl LD_LIBRARY_PATH. m4_define([RUN_PERL_MODULE], [LD_LIBRARY_PATH=$abs_top_builddir/src/.libs \ + DYLD_LIBRARY_PATH=$abs_top_builddir/src/.libs \ $PERL -I$abs_top_builddir/perl-module/blib/arch \ -I$abs_top_builddir/perl-module/blib/lib])