Dynamic linking support for BSD/OS 4.x as suggested by Vivek Khera
This commit is contained in:
parent
231fffe1d4
commit
f5957eaf0a
|
@ -493,6 +493,7 @@ then
|
||||||
else CCSHARED="+z";
|
else CCSHARED="+z";
|
||||||
fi;;
|
fi;;
|
||||||
Linux*) CCSHARED="-fpic";;
|
Linux*) CCSHARED="-fpic";;
|
||||||
|
BSD/OS*/4*) CCSHARED="-fpic";;
|
||||||
FreeBSD*|OpenBSD*) CCSHARED="-fpic";;
|
FreeBSD*|OpenBSD*) CCSHARED="-fpic";;
|
||||||
NetBSD*) CCSHARED="-fPIC";;
|
NetBSD*) CCSHARED="-fPIC";;
|
||||||
SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;
|
SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;
|
||||||
|
@ -512,6 +513,7 @@ then
|
||||||
AIX*) LINKFORSHARED='-Wl,-bE:python.exp -lld';;
|
AIX*) LINKFORSHARED='-Wl,-bE:python.exp -lld';;
|
||||||
hp*|HP*)
|
hp*|HP*)
|
||||||
LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
|
LINKFORSHARED="-Wl,-E -Wl,+s -Wl,+b\$(BINLIBDEST)/lib-dynload";;
|
||||||
|
BSD/OS/4*) LINKFORSHARED="-Xlinker -export-dynamic";;
|
||||||
FreeBSD/[[34]]*) LINKFORSHARED="-Xlinker -export-dynamic";;
|
FreeBSD/[[34]]*) LINKFORSHARED="-Xlinker -export-dynamic";;
|
||||||
Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
|
Linux*) LINKFORSHARED="-Xlinker -export-dynamic";;
|
||||||
# -u libsys_s pulls in all symbols in libsys
|
# -u libsys_s pulls in all symbols in libsys
|
||||||
|
|
Loading…
Reference in New Issue