From c0d86a641269cab5bd4583afce82f171a6215aa9 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 9 Feb 2021 08:35:36 +0100 Subject: [PATCH] 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 --- src/libbsd-overlay.pc.in | 1 + 1 file changed, 1 insertion(+) 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