diff options
author | Rainer Jung <rjung@apache.org> | 2009-01-03 02:01:56 +0100 |
---|---|---|
committer | Rainer Jung <rjung@apache.org> | 2009-01-03 02:01:56 +0100 |
commit | b9d88eb47de6e5625bee5d879cd12545e89fcc6c (patch) | |
tree | 32b343242adbde29fa9c8c8a2f7aca82cbfa8a90 /configure.in | |
parent | We need to link only ab against libm (because of (diff) | |
download | apache2-b9d88eb47de6e5625bee5d879cd12545e89fcc6c.tar.xz apache2-b9d88eb47de6e5625bee5d879cd12545e89fcc6c.zip |
Only link libhttpd against pcre.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730882 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index d4c245b600..76cd665da7 100644 --- a/configure.in +++ b/configure.in @@ -182,7 +182,8 @@ if test "$PCRE_CONFIG" != "false"; then fi AC_MSG_NOTICE([Using external PCRE library from $PCRE_CONFIG]) APR_ADDTO(CFLAGS, [`$PCRE_CONFIG --cflags`]) - APR_ADDTO(LIBS, [`$PCRE_CONFIG --libs`]) + APR_ADDTO(LTLIBRARY_LIBADD, [`$PCRE_CONFIG --libs`]) + APACHE_SUBST(LTLIBRARY_LIBADD) else AC_MSG_ERROR([pcre-config for libpcre not found. PCRE is required and available from http://pcre.org/]) fi |