pkgconfig: fix uninstalled pkgconfig to handle out-of-source build case
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 12 Jan 2012 14:11:10 +0000 (15:11 +0100)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Thu, 12 Jan 2012 14:11:10 +0000 (15:11 +0100)
pkgconfig/gst-editing-services-uninstalled.pc.in

index 39e8e48f424c5572ecae4e686adb35e70a85bb51..bce1f9e1cf4d2c3a67c89fe114ea56893a2b39b3 100644 (file)
@@ -1,12 +1,12 @@
 # the standard variables don't make sense for an uninstalled copy
 prefix=
 exec_prefix=
-libdir=${pcfiledir}/../ges
-includedir=${pcfiledir}/..
+libdir=@abs_top_builddir@/ges
+includedir=@abs_top_builddir@
 
 Name: gst-editing-services
 Description: GStreamer Editing Services
 Version: @VERSION@
 Requires: gstreamer-@GST_MAJORMINOR@ gstreamer-base-@GST_MAJORMINOR@ gstreamer-controller-@GST_MAJORMINOR@ gstreamer-pbutils-@GST_MAJORMINOR@
-Libs: ${libdir}/libges-@GST_MAJORMINOR@
-Cflags: -I${includedir} -I@srcdir@/..
+Libs: @abs_top_builddir@/ges/libges-@GST_MAJORMINOR@.la
+Cflags: -I@abs_top_srcdir@ -I@abs_top_builddir@