From: Matthias Clasen Date: Sun, 16 Sep 2007 15:48:11 +0000 (+0000) Subject: Fix static build against system pcre X-Git-Tag: GLIB_2_14_1~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6972901388cb696c41e03d018bde8ad2c75c56f2;p=platform%2Fupstream%2Fglib.git Fix static build against system pcre svn path=/trunk/; revision=5762 --- 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