summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '2.2/patches')
-rw-r--r--2.2/patches/10_all_apxs_ldflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/2.2/patches/10_all_apxs_ldflags.patch b/2.2/patches/10_all_apxs_ldflags.patch
new file mode 100644
index 0000000..8fed52b
--- /dev/null
+++ b/2.2/patches/10_all_apxs_ldflags.patch
@@ -0,0 +1,13 @@
+diff -Nru httpd-2.2.16.orig/support/apxs.in httpd-2.2.16/support/apxs.in
+--- httpd-2.2.16.orig/support/apxs.in 2010-08-31 15:11:51.964281072 +0200
++++ httpd-2.2.16/support/apxs.in 2010-08-31 15:17:38.562895073 +0200
+@@ -430,6 +430,9 @@
+ $opt .= " -l$opt_l";
+ }
+
++ # Add LDFLAGS from environment:
++ $opt .= " $ENV{'LDFLAGS'}";
++
+ if ($opt_p == 1) {
+
+ my $apr_libs=`$apr_config --cflags --ldflags --link-libtool --libs`;