From: Jan Schmidt Date: Fri, 13 Jul 2007 14:11:22 +0000 (+0000) Subject: pkgconfig/: Substitute the CFLAGS for libcheck into our .pc file too so that dependen... X-Git-Tag: RELEASE-0_10_14~34 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b24276b20784b86b02575f4deec8616203940035;p=platform%2Fupstream%2Fgstreamer.git pkgconfig/: Substitute the CFLAGS for libcheck into our .pc file too so that dependent modules will pick it up proper... Original commit message from CVS: * pkgconfig/gstreamer-check-uninstalled.pc.in: * pkgconfig/gstreamer-check.pc.in: Substitute the CFLAGS for libcheck into our .pc file too so that dependent modules will pick it up properly if libcheck is installed into some other prefix. --- diff --git a/ChangeLog b/ChangeLog index 0f1b20c..78d3993 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2007-07-13 Jan Schmidt + * pkgconfig/gstreamer-check-uninstalled.pc.in: + * pkgconfig/gstreamer-check.pc.in: + Substitute the CFLAGS for libcheck into our .pc file too so that + dependent modules will pick it up properly if libcheck is installed + into some other prefix. + +2007-07-13 Jan Schmidt + * configure.ac: Revert the pkg-config check for libcheck, since it pulls in the wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need diff --git a/pkgconfig/gstreamer-check-uninstalled.pc.in b/pkgconfig/gstreamer-check-uninstalled.pc.in index 97ce34f..63bb3a8 100644 --- a/pkgconfig/gstreamer-check-uninstalled.pc.in +++ b/pkgconfig/gstreamer-check-uninstalled.pc.in @@ -10,4 +10,4 @@ Requires: gstreamer-@GST_MAJORMINOR@ = @VERSION@ Version: @VERSION@ Libs: ${libdir}/libgstcheck-@GST_MAJORMINOR@.la @CHECK_LIBS@ -lm -Cflags: -I${includedir} +Cflags: -I${includedir} @CHECK_CFLAGS@ diff --git a/pkgconfig/gstreamer-check.pc.in b/pkgconfig/gstreamer-check.pc.in index 74d8979..f96d1d4 100644 --- a/pkgconfig/gstreamer-check.pc.in +++ b/pkgconfig/gstreamer-check.pc.in @@ -8,4 +8,4 @@ Description: Unit testing helper library for GStreamer modules Requires: gstreamer-@GST_MAJORMINOR@ Version: @VERSION@ Libs: -L${libdir} -lgstcheck-@GST_MAJORMINOR@ @CHECK_LIBS@ -lm -Cflags: -I${includedir} +Cflags: -I${includedir} @CHECK_CFLAGS@