Respect CXX variable during configure
commit6ac83ce7ebuse 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:
@@ -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,4 +1,5 @@
|
||||
CC=@CC@
|
||||
CXX=@CXX@
|
||||
CFLAGS=-g -I../src/include @CFLAGS@
|
||||
LIBNDPI=../src/lib/libndpi.a
|
||||
LDFLAGS=$(LIBNDPI) @PCAP_LIB@ -lpthread @LDFLAGS@
|
||||
|
||||
Reference in New Issue
Block a user