perl-modperl-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pgollu...@apache.org
Subject svn commit: r387662 - in /perl/modperl/trunk: Changes lib/Apache2/Build.pm
Date Tue, 21 Mar 2006 23:03:45 GMT
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 <mike@mailchannels.com>
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 <mike@mailchannels.com>]
+
 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'



Mime
View raw message