diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2010-04-30 14:18:45 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2010-04-30 14:18:45 +0000 |
commit | f93ec9a9cd5252146097487632d2c237b809da30 (patch) | |
tree | 9b839e8aa0b5b2a4e7106236f50120f190a3794c /configure | |
parent | c7ca3843a9a8c754077403a5c002aff74bef667f (diff) | |
download | ocaml-f93ec9a9cd5252146097487632d2c237b809da30.tar.gz |
disable shared libraries on 32-bit 10.6
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10338 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -576,7 +576,16 @@ if test $withsharedlibs = "yes"; then byteccrpath="-Wl,-rpath," mksharedlibrpath="-rpath " shared_libraries_supported=true;; - i[3456]86-*-darwin[4-9]*) + i[3456]86-*-darwin10.*) + if test $arch64 == true; then + mksharedlib="$bytecc -bundle -flat_namespace -undefined suppress" + bytecccompopts="$dl_defs $bytecccompopts" + dl_needs_underscore=false + shared_libraries_supported=true + else + shared_libraries_supported=false + fi;; + i[3456]86-*-darwin*) mksharedlib="$bytecc -bundle -flat_namespace -undefined suppress -read_only_relocs suppress" bytecccompopts="$dl_defs $bytecccompopts" dl_needs_underscore=false |