mirror of
https://github.com/vel21ripn/nDPI.git
synced 2026-11-29 11:11:52 +00:00
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>
8 lines
295 B
PkgConfig
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
|