aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchiehminw <chiehminw@synology.com>2019-03-06 15:21:13 +0800
committerchiehminw <chiehminw@synology.com>2019-03-06 15:27:50 +0800
commit518dbbc96bf759635cef4d6d37ad38d3d9fc5b51 (patch)
treeebcd703202d3444dd67946b22f7bec7a5e3f300a
parent59f683858b2b8f28e88b9348b75fef5164665964 (diff)
Respect CXX variable during configure
commit 6ac83ce7eb99 use CXX to link ndpiReader however CXX is not properly set in configure step Fixes: 6ac83ce7eb99 ("Fixes broken hyperscan compilation") Signed-off-by: chiehminw <chiehminw@synology.com>
-rw-r--r--configure.seed1
-rw-r--r--example/Makefile.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/configure.seed b/configure.seed
index 1aa68f17c..6999ff78f 100644
--- a/configure.seed
+++ b/configure.seed
@@ -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@"
diff --git a/example/Makefile.in b/example/Makefile.in
index 8960ed0a2..ad75295cb 100644
--- a/example/Makefile.in
+++ b/example/Makefile.in
@@ -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@