summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2017-01-23 15:10:40 +0200
committerSebastian Dröge <sebastian@centricular.com>2017-01-23 15:10:40 +0200
commit2ea086e97d0d81da70849befecf5db7eb54b5e7c (patch)
treedc2e843b52640789a9831660f43ea2e1d355aed4
parent732a157cb77a3a8763f95cf045634b64186ba17b (diff)
pkg-config: Directly link the library with -l instead of the .la file
Which might not exist, like on most modern Linux distributions.
-rw-r--r--pkgconfig/gstreamer-bad-audio.pc.in2
-rw-r--r--pkgconfig/gstreamer-bad-base.pc.in2
-rw-r--r--pkgconfig/gstreamer-bad-video.pc.in2
3 files changed, 3 insertions, 3 deletions
diff --git a/pkgconfig/gstreamer-bad-audio.pc.in b/pkgconfig/gstreamer-bad-audio.pc.in
index be90d67da..fa9001017 100644
--- a/pkgconfig/gstreamer-bad-audio.pc.in
+++ b/pkgconfig/gstreamer-bad-audio.pc.in
@@ -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}
diff --git a/pkgconfig/gstreamer-bad-base.pc.in b/pkgconfig/gstreamer-bad-base.pc.in
index 10afe0ecd..cf4674564 100644
--- a/pkgconfig/gstreamer-bad-base.pc.in
+++ b/pkgconfig/gstreamer-bad-base.pc.in
@@ -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}
diff --git a/pkgconfig/gstreamer-bad-video.pc.in b/pkgconfig/gstreamer-bad-video.pc.in
index 40127be8d..43a54c053 100644
--- a/pkgconfig/gstreamer-bad-video.pc.in
+++ b/pkgconfig/gstreamer-bad-video.pc.in
@@ -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}