PR#4180: shared library support for OpenBSD
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8501 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
a0e661f623
commit
2f9fff806a
|
@ -569,6 +569,17 @@ if test $withsharedlibs = "yes"; then
|
|||
#sharedcccompopts="-fnocommon"
|
||||
dl_needs_underscore=true
|
||||
shared_libraries_supported=true;;
|
||||
m88k-*-openbsd*)
|
||||
shared_libraries_supported=false;;
|
||||
vax-*-openbsd*)
|
||||
shared_libraries_supported=false;;
|
||||
*-*-openbsd*)
|
||||
sharedcccompopts="-fPIC"
|
||||
mksharedlib="$bytecc -shared -o"
|
||||
bytecclinkopts="$bytecclinkopts -Wl,-E"
|
||||
byteccrpath="-Wl,-rpath,"
|
||||
mksharedlibrpath="-Wl,-rpath,"
|
||||
shared_libraries_supported=true;;
|
||||
esac
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue