kumquat-buildroot/package/libsidplay2/0002-pkg-config.patch
Bernd Kuhls e7eafb0f24 package/libsidplay2: new package
Needed for upcoming kodi-audiodecoder-sidplay package

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-03-23 22:47:00 +01:00

26 lines
904 B
Diff

Include correct libdir in pkgconfig files
Downloaded from
https://sources.debian.net/src/sidplay-libs/2.1.1-14/debian/patches/pkg-config.patch/
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
--- sidplay-libs-2.1.1.orig/libsidplay/unix/libsidplay2.pc.in
+++ sidplay-libs-2.1.1/libsidplay/unix/libsidplay2.pc.in
@@ -7,5 +7,5 @@ builders=@builders@
Name: @PACKAGE@
Description: C64 cycle exact stereo sidplayer library.
Version: @VERSION@
-Libs: ${libdir}/libsidplay2.la
+Libs: -L${libdir} -lsidplay2
Cflags: -DHAVE_UNIX -I${includedir}
--- sidplay-libs-2.1.1.orig/libsidutils/unix/libsidutils.pc.in
+++ sidplay-libs-2.1.1/libsidutils/unix/libsidutils.pc.in
@@ -6,5 +6,5 @@ includedir=@includedir@
Name: @PACKAGE@
Description: Utils for supporting the libsidplay2 library.
Version: @VERSION@
-Libs: ${libdir}/libsidutils.la
+Libs: -L${libdir} -lsidutils
Cflags: -DHAVE_UNIX -I${includedir}