nDPI/libndpi-uninstalled.pc.in
Ivan Nardi 50e4330912
Fix install and pkg-config for out-of-tree builds (#3182)
The install target only copied headers from $(top_srcdir), so
ndpi_config.h and ndpi_define.h (generated into $(top_builddir))
were silently skipped in out-of-tree builds, breaking any consumer
that included ndpi_typedefs.h.

Add explicit copies of the two generated headers in the install target,
and add libndpi-uninstalled.pc.in so consumers can use pkg-config
against the build tree without running make install.

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-25 19:03:03 +02:00

8 lines
295 B
PkgConfig

abs_top_srcdir=@abs_top_srcdir@
abs_top_builddir=@abs_top_builddir@
Name: libndpi
Description: deep packet inspection library (uninstalled)
Version: @VERSION@
Libs: -L${abs_top_builddir}/src/lib -lndpi @ADDITIONAL_LIBS@
Cflags: -I${abs_top_srcdir}/src/include -I${abs_top_builddir}/src/include