summaryrefslogtreecommitdiff
path: root/ext/pcre/config.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/config.m4')
-rw-r--r--ext/pcre/config.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/pcre/config.m4 b/ext/pcre/config.m4
index 2480ff7e6a..09a6a6a91d 100644
--- a/ext/pcre/config.m4
+++ b/ext/pcre/config.m4
@@ -51,11 +51,12 @@ AC_ARG_WITH(pcre-regex,
;;
esac
],[
- EXTRA_LIBS="-L$abs_builddir/ext/pcre/pcrelib -lpcre $EXTRA_LIBS"
- PCRE_SUBDIR="pcrelib"
+ PCRE_LIBADD=pcrelib/libpcre.la
+ PCRE_SUBDIRS=pcrelib
AC_DEFINE(HAVE_BUNDLED_PCRE, 1)
AC_MSG_RESULT(yes)
PHP_EXTENSION(pcre)
PHP_OUTPUT(ext/pcre/pcrelib/Makefile)
])
-AC_SUBST(PCRE_SUBDIR)
+AC_SUBST(PCRE_LIBADD)
+AC_SUBST(PCRE_SUBDIRS)