From 2ea086e97d0d81da70849befecf5db7eb54b5e7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 23 Jan 2017 15:10:40 +0200 Subject: [PATCH] pkg-config: Directly link the library with -l instead of the .la file Which might not exist, like on most modern Linux distributions. --- pkgconfig/gstreamer-bad-audio.pc.in | 2 +- pkgconfig/gstreamer-bad-base.pc.in | 2 +- pkgconfig/gstreamer-bad-video.pc.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgconfig/gstreamer-bad-audio.pc.in b/pkgconfig/gstreamer-bad-audio.pc.in index be90d67daa..fa90010171 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 10afe0ecdf..cf46745640 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 40127be8dc..43a54c053c 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}