diff options
author | Jan Engelhardt <jengelh@inai.de> | 2012-06-05 10:37:19 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@inai.de> | 2012-06-05 10:38:40 +0200 |
commit | 9938530c268e6f24b7b340678294cbbd3e3fa5ef (patch) | |
tree | 2316944350d984e8afe028a9fcfa00ee178d9ae6 /output | |
parent | 1b3e1c46187e8f27c4bced88aff803d07eb7462e (diff) |
pcap: resolve unreliable detection
pcap is not found reliably by either --with-pcap=%_prefix or
--with-pcap-lib=%_libdir --with-pcap-inc=%_includedir.
If you have any special paths, just use
./configure CPPFLAGS="-I/my/pcap" LDFLAGS="-L/my/pcap"
(And -lpcap is already known so no need to specify that.)
Signed-off-by: Jan Engelhardt <jengelh@inai.de>
Diffstat (limited to 'output')
-rw-r--r-- | output/pcap/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/output/pcap/Makefile.am b/output/pcap/Makefile.am index 47580d2..c1723a6 100644 --- a/output/pcap/Makefile.am +++ b/output/pcap/Makefile.am @@ -1,5 +1,5 @@ -AM_CPPFLAGS = -I$(top_srcdir)/include $(PCAP_INC) +AM_CPPFLAGS = -I$(top_srcdir)/include AM_CFLAGS = ${regular_CFLAGS} if HAVE_PCAP @@ -7,7 +7,7 @@ if HAVE_PCAP pkglib_LTLIBRARIES = ulogd_output_PCAP.la ulogd_output_PCAP_la_SOURCES = ulogd_output_PCAP.c -ulogd_output_PCAP_la_LIBADD = ${PCAP_LIB} +ulogd_output_PCAP_la_LIBADD = ${libpcap_LIBS} ulogd_output_PCAP_la_LDFLAGS = -avoid-version -module endif |