You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
922 B

  1. From b4b7a810697145b718a9a3b6d8a39e700613a640 Mon Sep 17 00:00:00 2001
  2. From: Hank Leininger <hlein@korelogic.com>
  3. Date: Mon, 8 Oct 2018 21:22:41 -0600
  4. Subject: [PATCH 9/9] Correct the include file path in -I CFLAGS argument.
  5. src/lib/Makefile.in install headers into ${prefix}/include/ndpi,
  6. but the shipped libndpi.pc.in specifies a different path. Therefore
  7. anything trying to build using $(pkg-config --cflags libndpi) will
  8. fail to find the nDPI headers.
  9. This patch simply makes libndpi.pc.in agree with src/lib/Makefile.in.
  10. ---
  11. libndpi.pc.in | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/libndpi.pc.in b/libndpi.pc.in
  14. index 291429c..5e1cde7 100644
  15. --- a/libndpi.pc.in
  16. +++ b/libndpi.pc.in
  17. @@ -7,4 +7,4 @@ Name: libndpi
  18. Description: deep packet inspection library
  19. Version: @VERSION@
  20. Libs: -L${libdir} -lndpi
  21. -Cflags: -I${includedir}/libndpi-@VERSION@
  22. +Cflags: -I${includedir}/ndpi
  23. --
  24. 2.19.1