summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
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