Author: pgollucci
Date: Tue Mar 21 15:03:42 2006
New Revision: 387662

URL: http://svn.apache.org/viewcvs?rev=387662&view=rev
Log:
Make sure that additional library paths are included in the build flags i
so that mod_perl will use the same versions of libraries that APR does.

Submited by: Mike Smith <[EMAIL PROTECTED]>
Reviewed by: pgollucci, stas


Modified:
    perl/modperl/trunk/Changes
    perl/modperl/trunk/lib/Apache2/Build.pm

Modified: perl/modperl/trunk/Changes
URL: 
http://svn.apache.org/viewcvs/perl/modperl/trunk/Changes?rev=387662&r1=387661&r2=387662&view=diff
==============================================================================
--- perl/modperl/trunk/Changes (original)
+++ perl/modperl/trunk/Changes Tue Mar 21 15:03:42 2006
@@ -12,6 +12,10 @@
 
 =item 2.0.3-dev
 
+Make sure that additional library paths are included in the build flags
+so that mod_perl will use the same versions of libraries that APR does.
+[Mike Smith <[EMAIL PROTECTED]>]
+
 Added $r->connection->pnotes, identical to $r->pnotes, but
 for the entire lifetime of the connection
 [Geoffrey Young, Gozer]

Modified: perl/modperl/trunk/lib/Apache2/Build.pm
URL: 
http://svn.apache.org/viewcvs/perl/modperl/trunk/lib/Apache2/Build.pm?rev=387662&r1=387661&r2=387662&view=diff
==============================================================================
--- perl/modperl/trunk/lib/Apache2/Build.pm (original)
+++ perl/modperl/trunk/lib/Apache2/Build.pm Tue Mar 21 15:03:42 2006
@@ -1117,7 +1117,7 @@
     # first use apu_config_path and then apr_config_path in order to
     # resolve the symbols right during linking
     for ($self->apu_config_path, $self->apr_config_path) {
-        if (my $link = $_ && -x $_ && qx{$_ --link-ld --libs}) {
+        if (my $link = $_ && -x $_ && qx{$_ --link-ld --ldflags --libs}) {
             chomp $link;
 
             # Change '/path/to/libanything.la' to '-L/path/to -lanything'


Reply via email to