From f7da00cdc597be1ea5a740aa269a451d8393f0a6 Mon Sep 17 00:00:00 2001 From: Jeremy Sowden Date: Sat, 9 Oct 2021 12:38:31 +0100 Subject: build: correct pkg-config dependency configuration Put libnfnetlink and libmnl in `Requires.private`. They both use pkg-config (thus `Requires`, not `Libs`), and they are both required for static builds, but do not need to be exposed otherwise (thus `Requires.private`). Signed-off-by: Jeremy Sowden Signed-off-by: Pablo Neira Ayuso --- libnetfilter_log.pc.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libnetfilter_log.pc.in') diff --git a/libnetfilter_log.pc.in b/libnetfilter_log.pc.in index a4b2f3b..9dbed77 100644 --- a/libnetfilter_log.pc.in +++ b/libnetfilter_log.pc.in @@ -6,11 +6,11 @@ libdir=@libdir@ includedir=@includedir@ Name: libnetfilter_log -Description: netfilter userspace packet logging library +Description: Netfilter userspace packet logging library URL: http://netfilter.org/projects/libnetfilter_log/ Version: @VERSION@ -Requires: libnfnetlink +Requires.private: libnfnetlink >= @LIBNFNETLINK_MIN_VERSION@, + libmnl >= @LIBMNL_MIN_VERSION@ Conflicts: Libs: -L${libdir} -lnetfilter_log -Libs.private: @LIBNFNETLINK_LIBS@ Cflags: -I${includedir} -- cgit v1.2.3