From 518dbbc96bf759635cef4d6d37ad38d3d9fc5b51 Mon Sep 17 00:00:00 2001 From: chiehminw Date: Wed, 6 Mar 2019 15:21:13 +0800 Subject: 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 --- configure.seed | 1 + example/Makefile.in | 1 + 2 files changed, 2 insertions(+) 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@ -- cgit v1.2.3