Checking for libdl vs. libc during configure

This commit is contained in:
Marco Gigante 2016-11-23 08:44:07 +01:00
parent f670eefd84
commit c52c738408
2 changed files with 7 additions and 1 deletions

View file

@ -4,7 +4,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/include @PCAP_INC@
AM_CFLAGS = @PTHREAD_CFLAGS@
LDADD = $(top_builddir)/src/lib/libndpi.la @JSON_C_LIB@ @PTHREAD_LIBS@ @PCAP_LIB@
AM_LDFLAGS = -static -ldl
AM_LDFLAGS = -static @DL_LIB@
ndpiReader_SOURCES = ndpiReader.c ndpi_util.c ndpi_util.h