Преглед изворни кода

libdpkg: Add @LIBLZMA_LIBS@ to Libs.Private in libdpkg.pc.in

If a project is using libdpkg's compression support it will fail to
build with newer libdpkg versions that added direct liblzma support,
because the dependency is an implementation detail, the library could
be using the command line tool instead, and it would not really be
correct for that project to explicitly link against liblzma.
Guillem Jover пре 13 година
родитељ
комит
8ace79f21c
2 измењених фајлова са 2 додато и 1 уклоњено
  1. 1 0
      debian/changelog
  2. 1 1
      lib/dpkg/libdpkg.pc.in

+ 1 - 0
debian/changelog

@@ -3,6 +3,7 @@ dpkg (1.16.10) UNRELEASED; urgency=low
   [ Guillem Jover ]
   [ Guillem Jover ]
   * Fix typos in 1.16.9 changelog entry. Closes: #691954
   * Fix typos in 1.16.9 changelog entry. Closes: #691954
     Thanks to Nicolás Alvarez <nicolas.alvarez@gmail.com>.
     Thanks to Nicolás Alvarez <nicolas.alvarez@gmail.com>.
+  * Add missing @LIBLZMA_LIBS@ to Libs.Private in libdpkg.pc.in.
 
 
   [ Updated programs translations ]
   [ Updated programs translations ]
   * Esperanto (Felipe Castro).
   * Esperanto (Felipe Castro).

+ 1 - 1
lib/dpkg/libdpkg.pc.in

@@ -8,5 +8,5 @@ Name: libdpkg
 Description: Debian package management system library
 Description: Debian package management system library
 Version: @VERSION@
 Version: @VERSION@
 Libs: -L${libdir} -ldpkg
 Libs: -L${libdir} -ldpkg
-Libs.private: @ZLIB_LIBS@ @BZ2_LIBS@
+Libs.private: @ZLIB_LIBS@ @LIBLZMA_LIBS@ @BZ2_LIBS@
 Cflags: -I${includedir}
 Cflags: -I${includedir}