summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2010-09-01 08:07:51 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2010-09-01 08:07:51 +0000
commitbcd526b6e7807a78b1ab92c942a9ce10385faa90 (patch)
tree7c97e83ad23b60205b58cf2af8566ed6b9f376fa
parentdump peruser to 0.4.0-rc1 wrt #294098 (diff)
downloadapache-bcd526b6e7807a78b1ab92c942a9ce10385faa90.tar.gz
apache-bcd526b6e7807a78b1ab92c942a9ce10385faa90.tar.bz2
apache-bcd526b6e7807a78b1ab92c942a9ce10385faa90.zip
Add patch for APXS to respect LDFLAGS, see bug #335405.
-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`;