summaryrefslogtreecommitdiffstats
path: root/libnetfilter_log_libipulog.pc.in
diff options
context:
space:
mode:
authorJeremy Sowden <jeremy@azazel.net>2021-10-09 12:38:32 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2021-10-12 00:59:12 +0200
commit3c2229da2e7f7ba9f08b24a2581a22edc02b38dc (patch)
tree377ea7c3e887b2ad55b54ce7353e196553890770 /libnetfilter_log_libipulog.pc.in
parentf7da00cdc597be1ea5a740aa269a451d8393f0a6 (diff)
build: add pkg-config configuration for libipulog
Put libnfnetlink and libnetfilter_log 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 <jeremy@azazel.net> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'libnetfilter_log_libipulog.pc.in')
-rw-r--r--libnetfilter_log_libipulog.pc.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/libnetfilter_log_libipulog.pc.in b/libnetfilter_log_libipulog.pc.in
new file mode 100644
index 0000000..1b7d17a
--- /dev/null
+++ b/libnetfilter_log_libipulog.pc.in
@@ -0,0 +1,16 @@
+# libnetfilter_log_libipulog pkg-config file
+
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libnetfilter_log_libipulog
+Description: Netfilter ULOG userspace compat library
+URL: http://netfilter.org/projects/libnetfilter_log/
+Version: @VERSION@
+Requires.private: libnetfilter_log >= @VERSION@,
+ libnfnetlink >= @LIBNFNETLINK_MIN_VERSION@
+Conflicts:
+Libs: -L${libdir} -lnetfilter_log_libipulog
+Cflags: -I${includedir}