summaryrefslogtreecommitdiff
path: root/pkgconfig/gstreamer-bad-audio-uninstalled.pc.in
diff options
context:
space:
mode:
authorJulien Isorce <j.isorce@samsung.com>2016-02-18 14:32:23 +0000
committerJulien Isorce <j.isorce@samsung.com>2016-02-18 17:40:46 +0000
commit496e7b45689edd7f0ee49ab89d62d6afd4c58391 (patch)
treed63b5ac24d753c0f0072347db26b6c965f08544c /pkgconfig/gstreamer-bad-audio-uninstalled.pc.in
parent0da3390692f023e7fbabbf8b7ee86c271a2bc1f0 (diff)
downloadgstreamer-plugins-bad-496e7b45689edd7f0ee49ab89d62d6afd4c58391.tar.gz
uninstalled.pc: add support for non libtool build systems
Currently the .la path is provided which requires to use libtool as mentioned in the GStreamer manual section-helloworld-compilerun.html. It is fine as long as the application is built using libtool. So currently it is not possible to compile a GStreamer application within gst-uninstalled with CMake or other build system different than autotools. This patch allows to do the following in gst-uninstalled env: gcc test.c -o test $(pkg-config --cflags --libs gstreamer-1.0 \ gstreamer-gl-1.0) Previously it required to prepend libtool --mode=link https://bugzilla.gnome.org/show_bug.cgi?id=720778
Diffstat (limited to 'pkgconfig/gstreamer-bad-audio-uninstalled.pc.in')
-rw-r--r--pkgconfig/gstreamer-bad-audio-uninstalled.pc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgconfig/gstreamer-bad-audio-uninstalled.pc.in b/pkgconfig/gstreamer-bad-audio-uninstalled.pc.in
index 4053f69e1..6b95364ee 100644
--- a/pkgconfig/gstreamer-bad-audio-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-bad-audio-uninstalled.pc.in
@@ -1,6 +1,6 @@
prefix=
exec_prefix=
-libdir=@abs_top_builddir@/gst-libs/gst/audio
+libdir=@abs_top_builddir@/gst-libs/gst/audio/.libs
includedir=@abs_top_srcdir@/gst-libs
Name: GStreamer bad audio library, uninstalled
@@ -8,5 +8,5 @@ Description: Bad audio library for GStreamer, Not Installed
Version: @VERSION@
Requires: gstreamer-@GST_API_VERSION@ gstreamer-bad-base-@GST_API_VERSION@
-Libs: @abs_top_builddir@/gst-libs/gst/audio/libgstbadaudio-@GST_API_VERSION@.la
+Libs: -L${libdir} -lgstbadaudio-@GST_API_VERSION@
Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs