pkg-config: Directly link the library with -l instead of the .la file
authorSebastian Dröge <sebastian@centricular.com>
Mon, 23 Jan 2017 13:10:40 +0000 (15:10 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 23 Jan 2017 13:11:18 +0000 (15:11 +0200)
Which might not exist, like on most modern Linux distributions.

pkgconfig/gstreamer-bad-audio.pc.in
pkgconfig/gstreamer-bad-base.pc.in
pkgconfig/gstreamer-bad-video.pc.in

index be90d67daa177c26ae1ce58de07ad958460dbbc8..fa90010171b5bace32e03c0099c44efc5b32d42d 100644 (file)
@@ -9,5 +9,5 @@ Description: Bad audio library for GStreamer elements, Not Installed
 Version: @VERSION@
 Requires: gstreamer-@GST_API_VERSION@ gstreamer-bad-base-@GST_API_VERSION@
 
-Libs: -L${libdir} ${libdir}/libgstbadaudio-@GST_API_VERSION@.la
+Libs: -L${libdir} -gstbadaudio-@GST_API_VERSION@
 Cflags: -I${includedir}
index 10afe0ecdf49d26ec0a8aa185c21c8c68b5e03c7..cf46745640c04a32d1b394fbc940ae180e6435dc 100644 (file)
@@ -12,5 +12,5 @@ Description: Bad base classes for GStreamer elements
 Version: @VERSION@
 Requires: gstreamer-@GST_API_VERSION@
 
-Libs: -L${libdir} ${libdir}/libgstbadbase-@GST_API_VERSION@.la
+Libs: -L${libdir} -lgstbadbase-@GST_API_VERSION@
 Cflags: -I${includedir}
index 40127be8dc5304f73b50b600ed97f8bf8925f3a8..43a54c053c611f2b9c83da21d16404ddc26f179c 100644 (file)
@@ -12,5 +12,5 @@ Description: Bad video library for GStreamer elements
 Version: @VERSION@
 Requires: gstreamer-@GST_API_VERSION@ gstreamer-bad-base-@GST_API_VERSION@
 
-Libs: -L${libdir} ${libdir}/libgstbadvideo-@GST_API_VERSION@.la
+Libs: -L${libdir} -lgstbadvideo-@GST_API_VERSION@
 Cflags: -I${includedir}