From 45268663505dbadb421f1194a16eff920ba26327 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 10 Jul 2011 15:24:45 -0700 Subject: [PATCH] tests: Fix Perl module tests on Mac OS X. Tested by Jeremy Lavergne . --- tests/perl-module.at | 4 ++++ 1 file changed, 4 insertions(+) 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]) -- 2.30.2