1 |
Author: nelchael |
2 |
Date: 2010-09-01 08:07:51 +0000 (Wed, 01 Sep 2010) |
3 |
New Revision: 233 |
4 |
|
5 |
Added: |
6 |
trunk/dist/2.2/patches/10_all_apxs_ldflags.patch |
7 |
Log: |
8 |
Add patch for APXS to respect LDFLAGS, see bug #335405. |
9 |
|
10 |
Added: trunk/dist/2.2/patches/10_all_apxs_ldflags.patch |
11 |
=================================================================== |
12 |
--- trunk/dist/2.2/patches/10_all_apxs_ldflags.patch (rev 0) |
13 |
+++ trunk/dist/2.2/patches/10_all_apxs_ldflags.patch 2010-09-01 08:07:51 UTC (rev 233) |
14 |
@@ -0,0 +1,13 @@ |
15 |
+diff -Nru httpd-2.2.16.orig/support/apxs.in httpd-2.2.16/support/apxs.in |
16 |
+--- httpd-2.2.16.orig/support/apxs.in 2010-08-31 15:11:51.964281072 +0200 |
17 |
++++ httpd-2.2.16/support/apxs.in 2010-08-31 15:17:38.562895073 +0200 |
18 |
+@@ -430,6 +430,9 @@ |
19 |
+ $opt .= " -l$opt_l"; |
20 |
+ } |
21 |
+ |
22 |
++ # Add LDFLAGS from environment: |
23 |
++ $opt .= " $ENV{'LDFLAGS'}"; |
24 |
++ |
25 |
+ if ($opt_p == 1) { |
26 |
+ |
27 |
+ my $apr_libs=`$apr_config --cflags --ldflags --link-libtool --libs`; |