From 6972901388cb696c41e03d018bde8ad2c75c56f2 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 16 Sep 2007 15:48:11 +0000 Subject: [PATCH] Fix static build against system pcre svn path=/trunk/; revision=5762 --- ChangeLog | 8 ++++++++ configure.in | 2 ++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 20f0228..1739252 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2007-09-16 Matthias Clasen + * 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 + * NEWS: Updates 2007-09-14 15:07:28 Tim Janik diff --git a/configure.in b/configure.in index 4348110..dbd2235 100644 --- a/configure.in +++ b/configure.in @@ -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 -- 2.7.4