ac8ac6235a
git-svn-id: svn://svn.openwrt.org/openwrt/packages@24668 3c298f89-4303-0410-b956-a3cf2f4a3e73
14 lines
463 B
Diff
14 lines
463 B
Diff
--- 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"
|