Commit f5957eaf authored by Guido van Rossum's avatar Guido van Rossum

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

parent 231fffe1
This diff is collapsed.
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment