PR#4180: shared library support for OpenBSD

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8501 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 2007-11-10 12:29:28 +00:00
parent a0e661f623
commit 2f9fff806a
1 changed files with 11 additions and 0 deletions

11
configure vendored
View File

@ -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