[packages] nprobe: fix autoreconf
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24668 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
13
net/nprobe/patches/002-path_to_pcap.patch
Normal file
13
net/nprobe/patches/002-path_to_pcap.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- 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"
|
Reference in New Issue
Block a user