pkg-config: Directly link the library with -l instead of the .la file

Which might not exist, like on most modern Linux distributions.
This commit is contained in:
Sebastian Dröge 2017-01-23 15:10:40 +02:00
parent 732a157cb7
commit 2ea086e97d
3 changed files with 3 additions and 3 deletions

View 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}

View 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}

View 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}