freebsd-ports/lang/python+ipv6/files/patch-ab
2000-04-28 03:12:52 +00:00

21 lines
851 B
Plaintext

--- configure.orig Sat Apr 10 18:02:18 1999
+++ configure Fri Sep 10 09:47:29 1999
@@ -2246,7 +2246,7 @@
fi ;;
Linux*) LDSHARED="gcc -shared";;
dgux*) LDSHARED="ld -G";;
- FreeBSD*/3*) LDSHARED="gcc -shared";;
+ FreeBSD*/3*|FreeBSD*/4*|FreeBSD*/5*) LDSHARED='gcc -shared ${LDFLAGS}';;
FreeBSD*|OpenBSD*) LDSHARED="ld -Bshareable";;
NetBSD*)
if [ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]
@@ -2292,7 +2292,7 @@
AIX*) LINKFORSHARED='-Wl,-bE:python.exp -lld';;
hp*|HP*)
LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
- FreeBSD/3*) LINKFORSHARED="-Xlinker -export-dynamic";;
+ FreeBSD/3*|FreeBSD/4*|FreeBSD*/5*) LINKFORSHARED="-Xlinker -export-dynamic";;
Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
# -u libsys_s pulls in all symbols in libsys
next/2*|next/3*) LINKFORSHARED="-u libsys_s";;