]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
contrib/libunbound.pc.in: Only specify -lunbound for Libs
authorRobert Edmonds <edmonds@mycre.ws>
Mon, 27 Jan 2020 03:01:38 +0000 (22:01 -0500)
committerRobert Edmonds <edmonds@mycre.ws>
Mon, 27 Jan 2020 03:06:58 +0000 (22:06 -0500)
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

index 810c571343a4b49419273d7607b8fed187de6a13..74dfdb6fcdb42557c5101ae2ee3f490fa06c733f 100644 (file)
@@ -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}