blob: ca7d6dd51b68442829c9d11dc7bea9052ca8a1a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ae,v 1.2 2001/08/24 11:37:08 abs Exp $
--- configure.orig Wed May 16 19:26:11 2001
+++ configure
@@ -2183,7 +2183,7 @@
echo $ac_n "(cached) $ac_c" 1>&6
else
ac_save_LIBS="$LIBS"
-LIBS="-lpcap $LIBS"
+LIBS="-L$LOCALBASE/lib -lpcap $LIBS"
cat > conftest.$ac_ext <<EOF
#line 2189 "configure"
#include "confdefs.h"
@@ -2211,7 +2211,7 @@
fi
if eval "test \"`echo '$ac_cv_lbl_lib_'$ac_lib_var`\" = yes"; then
echo "$ac_t""yes" 1>&6
- libpcap="-lpcap"
+ libpcap="-L$LOCALBASE/lib -lpcap"
else
echo "$ac_t""no" 1>&6
fi
|