Author: phred
Date: Wed Feb 23 20:33:48 2011
New Revision: 1073931

URL: http://svn.apache.org/viewvc?rev=1073931&view=rev
Log:
Pass LD_LIBRARY_PATH if mod_env is loaded.  Should prevent build failures
on some platforms.  Idea stolen from rt.cpan.org #66085

Modified:
    perl/modperl/trunk/Changes
    perl/modperl/trunk/t/conf/extra.conf.in

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/Changes?rev=1073931&r1=1073930&r2=1073931&view=diff
==============================================================================
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Wed Feb 23 20:33:48 2011
@@ -12,6 +12,11 @@ Also refer to the Apache::Test changes l
 
 =item 2.0.6-dev
 
+Take a lesson from rt.cpan.org #66085 and pass LD_LIBRARY_PATH if mod_env
+is present.  Should prevent test failures on some platforms.
+[Fred Moyer]
+
+
 =item 2.0.5 February 7, 2011
 
 The mod_perl PMC dedicates this release of mod_perl to Randy Kobes, who

Modified: perl/modperl/trunk/t/conf/extra.conf.in
URL: 
http://svn.apache.org/viewvc/perl/modperl/trunk/t/conf/extra.conf.in?rev=1073931&r1=1073930&r2=1073931&view=diff
==============================================================================
--- perl/modperl/trunk/t/conf/extra.conf.in (original)
+++ perl/modperl/trunk/t/conf/extra.conf.in Wed Feb 23 20:33:48 2011
@@ -73,6 +73,10 @@ PerlModule TestExit::FromPerlModule
 </IfModule>
 <IfModule mod_env.c>
     SetEnv TMPDIR @t_logs@
+
+    # pass ld_library_path for non standard lib locations
+    # [rt.cpan.org #66085]
+    PassEnv LD_LIBRARY_PATH
 </IfModule>
 # </sandbox-friendly>
 


Reply via email to