Permalink
Browse files

Add back pkgconfig file. It is required by ntopng to find the install…

…ed shared library.
  • Loading branch information...
madpilot78 committed Aug 25, 2018
1 parent a98c0a8 commit 405e2f8dd01cfde121f4af2d95b0e7bc94d3e052
Showing with 15 additions and 1 deletion.
  1. +4 −0 Makefile.am
  2. +1 −1 configure.seed
  3. +10 −0 libndpi.pc.in
@@ -1,3 +1,7 @@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src/lib example tests
pkgconfigdir = $(prefix)/libdata/pkgconfig
pkgconfig_DATA = libndpi.pc
EXTRA_DIST = autogen.sh
@@ -128,7 +128,7 @@ AC_ARG_ENABLE([debug-messages],
AC_CHECK_LIB(pthread, pthread_setaffinity_np, AC_DEFINE_UNQUOTED(HAVE_PTHREAD_SETAFFINITY_NP, 1, [libc has pthread_setaffinity_np]))
AC_CONFIG_FILES([Makefile example/Makefile tests/Makefile src/include/ndpi_define.h src/lib/Makefile])
AC_CONFIG_FILES([Makefile example/Makefile tests/Makefile libndpi.pc src/include/ndpi_define.h src/lib/Makefile])
AC_CONFIG_HEADERS(src/include/ndpi_config.h)
AC_SUBST(GIT_RELEASE)
AC_SUBST(NDPI_MAJOR)
@@ -0,0 +1,10 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: libndpi
Description: deep packet inspection library
Version: @VERSION@
Libs: -L${libdir} -lndpi
Cflags: -I${includedir}/libndpi-@VERSION@

0 comments on commit 405e2f8

Please sign in to comment.