summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure b/configure
index 2512d791..3b1568ec 100755
--- a/configure
+++ b/configure
@@ -5547,12 +5547,13 @@ fi
# we add the source directory for the local libpcap, so
# we pick up its header files.
#
- # We do, however, want its additional libraries, because
- # it makes calls to routines in those libraries, so we'll
- # need to link with them.
+ # We do, however, want its additional libraries, as required
+ # when linking statically, because it makes calls to
+ # routines in those libraries, so we'll need to link with
+ # them, because we'll be linking statically with it.
#
V_INCLS="-I$local_pcap_dir $V_INCLS"
- additional_libs=`"$PCAP_CONFIG" --additinoal-libs`
+ additional_libs=`"$PCAP_CONFIG" --static --additional-libs`
libpcap="$libpcap $additional_libs"
else
#