uninstalled.pc: add support for non libtool build systems
authorJulien Isorce <j.isorce@samsung.com>
Thu, 18 Feb 2016 14:32:23 +0000 (14:32 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:17 +0000 (19:32 +0000)
commit20836836b51b9be3375869709ae708beb3682aed
treeee2a7b20cf297c4d55515023e360e0c789a5ff49
parent1377a0a4f9e4fff9243a16386bf2eba3001640c0
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
pkgconfig/gstreamer-gl-uninstalled.pc.in