Fix static build against system pcre

svn path=/trunk/; revision=5762
This commit is contained in:
Matthias Clasen 2007-09-16 15:48:11 +00:00
parent 2186ccf098
commit 6972901388
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2007-09-16 Matthias Clasen <mclasen@redhat.com>
* configure.in: When compiling against system pcre,
add a private dependency to the pc file. This should
fix static builds with system pcre. (#475923)
* glib-2.0.pc.in: Add a Requires.private line
2007-09-16 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates

View File

@ -2222,6 +2222,8 @@ if test x$enable_regex = xtrue; then
AC_SUBST(PCRE_CFLAGS)
AC_SUBST(PCRE_LIBS)
AC_DEFINE(USE_SYSTEM_PCRE, [], [using the system-supplied PCRE library])
PCRE_REQUIRES=libpcre
AC_SUBST(PCRE_REQUIRES)
else
# If using gcc 4 pass -Wno-pointer-sign when compiling the internal PCRE
if test x"$GCC" = xyes; then