aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorSimone Mainardi <mainardi@ntop.org>2017-02-04 17:01:40 +0100
committerSimone Mainardi <mainardi@ntop.org>2017-02-04 17:01:40 +0100
commitb161a6d7f797dcdd3f258c03570853d555085798 (patch)
tree53f27e09249e5e7db499d1bcc0e13c64d29514fb /example
parent799e39227cef07d21467562d316094fdd765e2c0 (diff)
Fix for FreeBSD build
Diffstat (limited to 'example')
-rw-r--r--example/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/Makefile.am b/example/Makefile.am
index 662f5a3ba..1a0570b1f 100644
--- a/example/Makefile.am
+++ b/example/Makefile.am
@@ -3,7 +3,7 @@ bin_PROGRAMS = ndpiReader
AM_CPPFLAGS = -I$(top_srcdir)/src/include @PCAP_INC@
AM_CFLAGS = @PTHREAD_CFLAGS@ # --coverage
-LDADD = $(top_builddir)/src/lib/libndpi.la @JSON_C_LIB@ @PTHREAD_LIBS@ @PCAP_LIB@ -ldl
+LDADD = $(top_builddir)/src/lib/libndpi.la @JSON_C_LIB@ @PTHREAD_LIBS@ @PCAP_LIB@ @DL_LIB@
AM_LDFLAGS = -static @DL_LIB@
ndpiReader_SOURCES = ndpiReader.c ndpi_util.c ndpi_util.h