Dynamic linking support for BSD/OS 4.x as suggested by Vivek Khera

This commit is contained in:
Guido van Rossum 1999-10-05 21:59:33 +00:00
parent 231fffe1d4
commit f5957eaf0a
2 changed files with 161 additions and 157 deletions

316
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -493,6 +493,7 @@ then
else CCSHARED="+z";
fi;;
Linux*) CCSHARED="-fpic";;
BSD/OS*/4*) CCSHARED="-fpic";;
FreeBSD*|OpenBSD*) CCSHARED="-fpic";;
NetBSD*) CCSHARED="-fPIC";;
SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;
@ -512,6 +513,7 @@ then
AIX*) LINKFORSHARED='-Wl,-bE:python.exp -lld';;
hp*|HP*)
LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
BSD/OS/4*) LINKFORSHARED="-Xlinker -export-dynamic";;
FreeBSD/[[34]]*) LINKFORSHARED="-Xlinker -export-dynamic";;
Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
# -u libsys_s pulls in all symbols in libsys