diff options
author | Julien Isorce <j.isorce@samsung.com> | 2016-02-18 14:31:28 +0000 |
---|---|---|
committer | Julien Isorce <j.isorce@samsung.com> | 2016-02-18 14:31:28 +0000 |
commit | c94ac3617314451833ad37430ac042e288093696 (patch) | |
tree | 06e1fbdbdb874841fa2cda675cd29c930a323ba5 /pkgconfig/gstreamer-fft-uninstalled.pc.in | |
parent | 9cf5645860237294851ca0552f16720a4d27a39d (diff) | |
download | gstreamer-plugins-base-c94ac3617314451833ad37430ac042e288093696.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-video-1.0)
Previously it required to prepend libtool --mode=link
https://bugzilla.gnome.org/show_bug.cgi?id=720778
Diffstat (limited to 'pkgconfig/gstreamer-fft-uninstalled.pc.in')
-rw-r--r-- | pkgconfig/gstreamer-fft-uninstalled.pc.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgconfig/gstreamer-fft-uninstalled.pc.in b/pkgconfig/gstreamer-fft-uninstalled.pc.in index 87cbbca12..1b92434b8 100644 --- a/pkgconfig/gstreamer-fft-uninstalled.pc.in +++ b/pkgconfig/gstreamer-fft-uninstalled.pc.in @@ -1,7 +1,7 @@ # the standard variables don't make sense for an uninstalled copy prefix= exec_prefix= -libdir= +libdir=@abs_top_builddir@/gst-libs/gst/fft/.libs # includedir is builddir because it is used to find gstconfig.h in places includedir=@abs_top_builddir@/gst-libs girdir=@abs_top_builddir@/gst-libs/gst/fft @@ -11,6 +11,6 @@ Name: GStreamer FFT Library, Uninstalled Description: FFT implementation, uninstalled Version: @VERSION@ Requires: gstreamer-@GST_API_VERSION@ -Libs: @abs_top_builddir@/gst-libs/gst/fft/libgstfft-@GST_API_VERSION@.la @LIBM@ +Libs: -L${libdir} -lgstfft-@GST_API_VERSION@ @LIBM@ Cflags: -I@abs_top_srcdir@/gst-libs -I@abs_top_builddir@/gst-libs |