packages/net/nprobe/patches/002-path_to_pcap.patch

14 lines
463 B
Diff
Raw Normal View History

--- a/configure.in
+++ b/configure.in
@@ -331,8 +331,8 @@ dnl> user defined directory passed as op
dnl>
if test ".${PCAP_ROOT}" != .; then
if test -d $PCAP_ROOT &&
- test -r $PCAP_ROOT/libpcap.a &&
- test -r $PCAP_ROOT/pcap.h; then
+ test -r $PCAP_ROOT/lib/libpcap.a &&
+ test -r $PCAP_ROOT/include/pcap.h; then
PCAP_ROOT=`cd ${PCAP_ROOT} && pwd`
CORELIBS="${CORELIBS} -L$PCAP_ROOT -lpcap"
INCS="${INCS} -I$PCAP_ROOT"