Commit c0d86a641269cab5bd4583afce82f171a6215aa9

Guillem Jover 2021-02-09T08:35:36

build: Add a Libs.private field to overlay pkg-config file We need to list all internal libraries there so that we can statically link. Fixes: commit 2374f409defb380d0c5c07f28b9c166ef8bdc742

1
2
3
4
5
6
7
8
9
10
diff --git a/src/libbsd-overlay.pc.in b/src/libbsd-overlay.pc.in
index ac8bf89..01b7ea5 100644
--- a/src/libbsd-overlay.pc.in
+++ b/src/libbsd-overlay.pc.in
@@ -8,4 +8,5 @@ Description: Utility functions from BSD systems (overlay)
 Version: @VERSION@
 URL: https://libbsd.freedesktop.org/
 Libs: -L${libdir} -lbsd
+Libs.private: @LIBBSD_LIBS@
 Cflags: -isystem ${includedir}/bsd -DLIBBSD_OVERLAY