Skip to content

Commit 553c077

Browse files
sthibaulinfrastation
authored andcommitted
Fix a linker error on GNU Hurd.
gcc -shared libpcap.so.$MAJOR_VER \ -o libpcap.so.$VER pcap-hurd.o fad-getad.o pcap-dbus.o pcap.o gencode.o optimize.o nametoaddr.o etherent.o fmtutils.o savefile.o sf-pcap.o sf-pcapng.o pcap-common.o bpf_image.o bpf_filter.o bpf_dump.o scanner.o grammar.o strlcat.o strlcpy.o -lrt -ldbus-1 /usr/bin/ld: cannot find libpcap.so.1: No such file or directory
1 parent c9edddc commit 553c077

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

aclocal.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ AC_DEFUN(AC_LBL_SHLIBS_INIT,
469469
aix*)
470470
;;
471471
472-
freebsd*|netbsd*|openbsd*|dragonfly*|linux*|osf*|haiku*|midipix*)
472+
freebsd*|netbsd*|openbsd*|dragonfly*|linux*|osf*|haiku*|midipix*|gnu*)
473473
#
474474
# Platforms where the linker is the GNU linker
475475
# or accepts command-line arguments like

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5239,7 +5239,7 @@ $as_echo "#define const /**/" >>confdefs.h
52395239
aix*)
52405240
;;
52415241
5242-
freebsd*|netbsd*|openbsd*|dragonfly*|linux*|osf*|haiku*|midipix*)
5242+
freebsd*|netbsd*|openbsd*|dragonfly*|linux*|osf*|haiku*|midipix*|gnu*)
52435243
#
52445244
# Platforms where the linker is the GNU linker
52455245
# or accepts command-line arguments like

0 commit comments

Comments
 (0)