1 |
commit: bcd526b6e7807a78b1ab92c942a9ce10385faa90 |
2 |
Author: Krzysztof Pawlik <nelchael <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 1 08:07:51 2010 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 1 08:07:51 2010 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/apache.git;a=commit;h=bcd526b6 |
7 |
|
8 |
Add patch for APXS to respect LDFLAGS, see bug #335405. |
9 |
|
10 |
--- |
11 |
2.2/patches/10_all_apxs_ldflags.patch | 13 +++++++++++++ |
12 |
1 file changed, 13 insertions(+) |
13 |
|
14 |
diff --git a/2.2/patches/10_all_apxs_ldflags.patch b/2.2/patches/10_all_apxs_ldflags.patch |
15 |
new file mode 100644 |
16 |
index 0000000..8fed52b |
17 |
--- /dev/null |
18 |
+++ b/2.2/patches/10_all_apxs_ldflags.patch |
19 |
@@ -0,0 +1,13 @@ |
20 |
+diff -Nru httpd-2.2.16.orig/support/apxs.in httpd-2.2.16/support/apxs.in |
21 |
+--- httpd-2.2.16.orig/support/apxs.in 2010-08-31 15:11:51.964281072 +0200 |
22 |
++++ httpd-2.2.16/support/apxs.in 2010-08-31 15:17:38.562895073 +0200 |
23 |
+@@ -430,6 +430,9 @@ |
24 |
+ $opt .= " -l$opt_l"; |
25 |
+ } |
26 |
+ |
27 |
++ # Add LDFLAGS from environment: |
28 |
++ $opt .= " $ENV{'LDFLAGS'}"; |
29 |
++ |
30 |
+ if ($opt_p == 1) { |
31 |
+ |
32 |
+ my $apr_libs=`$apr_config --cflags --ldflags --link-libtool --libs`; |