diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | configure.ac | 3 | ||||
-rw-r--r-- | lib/libipset.pc.in | 11 |
3 files changed, 14 insertions, 1 deletions
@@ -2,6 +2,7 @@ *.la *.lo *.o +*.pc .deps/ .libs/ Makefile diff --git a/configure.ac b/configure.ac index 56a2dff..a0bc58d 100644 --- a/configure.ac +++ b/configure.ac @@ -161,5 +161,6 @@ fi dnl Checks for library functions. dnl Generate output -AC_CONFIG_FILES([Makefile include/libipset/Makefile lib/Makefile src/Makefile]) +AC_CONFIG_FILES([Makefile include/libipset/Makefile + lib/Makefile lib/libipset.pc src/Makefile]) AC_OUTPUT diff --git a/lib/libipset.pc.in b/lib/libipset.pc.in new file mode 100644 index 0000000..1878c97 --- /dev/null +++ b/lib/libipset.pc.in @@ -0,0 +1,11 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libipset +Description: Userspace library for the ipset extensions and the kernel interface +Version: @VERSION@ +Cflags: -I${includedir} +Libs: -L${libdir} -lipset +Requires.private: libmnl >= 1 |