Correct the include file path in -I CFLAGS argument.
src/lib/Makefile.in install headers into ${prefix}/include/ndpi,
but the shipped libndpi.pc.in specifies a different path. Therefore
anything trying to build using $(pkg-config --cflags libndpi) will
fail to find the nDPI headers.
This patch simply makes libndpi.pc.in agree with src/lib/Makefile.in.
This commit is contained in:
+1
-1
@@ -7,4 +7,4 @@ Name: libndpi
|
|||||||
Description: deep packet inspection library
|
Description: deep packet inspection library
|
||||||
Version: @VERSION@
|
Version: @VERSION@
|
||||||
Libs: -L${libdir} -lndpi
|
Libs: -L${libdir} -lndpi
|
||||||
Cflags: -I${includedir}/libndpi-@VERSION@
|
Cflags: -I${includedir}/ndpi
|
||||||
|
|||||||
Reference in New Issue
Block a user