From 36b5d74fc4e604e73ddd6689a140f7b324347e30 Mon Sep 17 00:00:00 2001 From: Robert Edmonds Date: Sun, 26 Jan 2020 22:01:38 -0500 Subject: [PATCH] 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. --- contrib/libunbound.pc.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} -- 2.47.3