summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Isorce <j.isorce@samsung.com>2016-02-18 15:20:05 +0000
committerJulien Isorce <j.isorce@samsung.com>2016-02-18 15:20:05 +0000
commit8f1a9bff7f63d634055f90e29271861f5a33a136 (patch)
treecef5081d02e788be1407de556e4c50a83b0d2120
parentfb9e957cc2e98b3e8a43da85a5c4c62b760b08cc (diff)
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-rtsp-server-1.0) Previously it required to prepend libtool --mode=link https://bugzilla.gnome.org/show_bug.cgi?id=720778
-rw-r--r--pkgconfig/gstreamer-rtsp-server-uninstalled.pc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgconfig/gstreamer-rtsp-server-uninstalled.pc.in b/pkgconfig/gstreamer-rtsp-server-uninstalled.pc.in
index e453805..2aec3cc 100644
--- a/pkgconfig/gstreamer-rtsp-server-uninstalled.pc.in
+++ b/pkgconfig/gstreamer-rtsp-server-uninstalled.pc.in
@@ -1,12 +1,12 @@
# the standard variables don't make sense for an uninstalled copy
prefix=
exec_prefix=
-libdir=${pcfiledir}/../gst/rtsp-server
+libdir=${pcfiledir}/../gst/rtsp-server/.libs
includedir=${pcfiledir}/..
Name: gst-rtsp-server
Description: GStreamer based RTSP server
Version: @VERSION@
Requires: gstreamer-@GST_API_VERSION@ gstreamer-plugins-base-@GST_API_VERSION@
-Libs: ${libdir}/libgstrtspserver-@GST_API_VERSION@.la
+Libs: -L${libdir} -lgstrtspserver-@GST_API_VERSION@
Cflags: -I${includedir} -I@srcdir@/..