From: Robert Edmonds Date: Mon, 27 Jan 2020 03:01:38 +0000 (-0500) Subject: contrib/libunbound.pc.in: Only specify -lunbound for Libs X-Git-Tag: release-1.10.0rc1~47^2^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36b5d74fc4e604e73ddd6689a140f7b324347e30;p=thirdparty%2Funbound.git contrib/libunbound.pc.in: Only specify -lunbound for Libs According to the pkg-config manpage, the "Libs" line in a .pc file should give the link flags "specific to your package", and specifically says not to include link flags for dependencies: Libs: This line should give the link flags specific to your package. Don't add any flags for required packages; pkg-config will add those automatically. --- diff --git a/contrib/libunbound.pc.in b/contrib/libunbound.pc.in index 810c57134..74dfdb6fc 100644 --- a/contrib/libunbound.pc.in +++ b/contrib/libunbound.pc.in @@ -9,6 +9,6 @@ URL: http://www.unbound.net Version: @PACKAGE_VERSION@ Requires: libcrypto libssl @PC_LIBEVENT_DEPENDENCY@ Requires.private: @PC_PY_DEPENDENCY@ -Libs: -L${libdir} -lunbound -lssl -lcrypto +Libs: -L${libdir} -lunbound Libs.private: @SSLLIB@ @LIBS@ -Cflags: -I${includedir} +Cflags: -I${includedir}