Respect CXX variable during configure

commit 6ac83ce7eb use CXX to link ndpiReader however CXX is not
properly set in configure step

Fixes: 6ac83ce7eb ("Fixes broken hyperscan compilation")
Signed-off-by: chiehminw <chiehminw@synology.com>
This commit is contained in:
chiehminw
2019-03-06 15:27:50 +08:00
parent 59f683858b
commit 518dbbc96b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@ LT_INIT
AC_PROG_CC
AM_PROG_CC_C_O
AC_PROG_CXX
AX_PTHREAD
NDPI_VERSION_SHORT="@NDPI_VERSION_SHORT@"
+1
View File
@@ -1,4 +1,5 @@
CC=@CC@
CXX=@CXX@
CFLAGS=-g -I../src/include @CFLAGS@
LIBNDPI=../src/lib/libndpi.a
LDFLAGS=$(LIBNDPI) @PCAP_LIB@ -lpthread @LDFLAGS@