From 1f28209dcc9b99f82d76361b84d0fb4f9cf7f56e Mon Sep 17 00:00:00 2001 From: Rainer Jung Date: Mon, 4 Jul 2011 17:03:13 +0000 Subject: [PATCH] Only link the httpd binary against PCRE. No other support binary needs PCRE. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1142739 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ configure.in | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index b7dcd0be801..afc7a08c46a 100644 --- a/CHANGES +++ b/CHANGES @@ -20,6 +20,9 @@ Changes with Apache 2.3.14 *) mod_lua, mod_deflate: respect platform specific runpath linker flag. [Rainer Jung] + *) configure: Only link the httpd binary against PCRE. No other support + binary needs PCRE. [Rainer Jung] + Changes with Apache 2.3.13 *) ab: Support specifying the local address to use. PR 48930. diff --git a/configure.in b/configure.in index dcb3e9dc801..80c0ec46b87 100644 --- a/configure.in +++ b/configure.in @@ -207,7 +207,8 @@ else AC_MSG_ERROR([pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/]) fi APACHE_SUBST(PCRE_LIBS) -APR_ADDTO(AP_LIBS, [\$(PCRE_LIBS)]) +APR_ADDTO(HTTPD_LDFLAGS, [\$(PCRE_LIBS)]) +APACHE_SUBST(HTTPD_LDFLAGS) echo $ac_n "${nl}Configuring Apache httpd ...${nl}" -- 2.47.2