]> git.ipfire.org Git - thirdparty/libbsd.git/commitdiff
build: Add a Libs.private field to pkg-config file
authorGuillem Jover <guillem@hadrons.org>
Tue, 9 Feb 2021 04:56:49 +0000 (05:56 +0100)
committerGuillem Jover <guillem@hadrons.org>
Tue, 9 Feb 2021 05:23:38 +0000 (06:23 +0100)
We need to list all internal libraries there so that we can statically
link.

src/libbsd.pc.in

index d141fea260f5caa8ab9125a2f9e81431bdbbec1b..2c0ac172e32e44ad5570eaf78f422af217d82392 100644 (file)
@@ -8,4 +8,5 @@ Description: Utility functions from BSD systems
 Version: @VERSION@
 URL: https://libbsd.freedesktop.org/
 Libs: -L${libdir} -lbsd
+Libs.private: @LIBBSD_LIBS@
 Cflags: -I${includedir}