diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2011-08-04 14:31:34 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2011-08-04 14:31:34 +0000 |
commit | 9058296d2f647257aadeb59d7eb859546cf207c9 (patch) | |
tree | 8df9a6c9b5daa7ed419398d85f3748461090457a | |
parent | 12c25fa946c9a032fdb10ab07fbf3fd82f480cd0 (diff) |
configure correctly under Mac OS 10.7 Lion (darwin11)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11163 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rwxr-xr-x | configure | 12 |
1 files changed, 3 insertions, 9 deletions
@@ -579,13 +579,7 @@ if test $withsharedlibs = "yes"; then byteccrpath="-Wl,-rpath," mksharedlibrpath="-rpath " shared_libraries_supported=true;; - i[3456]86-*-darwin10.*) - mksharedlib="$bytecc -bundle -flat_namespace -undefined suppress" - bytecccompopts="$dl_defs $bytecccompopts" - dl_needs_underscore=false - shared_libraries_supported=true - ;; - i[3456]86-*-darwin*) + i[3456]86-*-darwin[89].*) mksharedlib="$bytecc -bundle -flat_namespace -undefined suppress -read_only_relocs suppress" bytecccompopts="$dl_defs $bytecccompopts" dl_needs_underscore=false @@ -623,11 +617,11 @@ if test $withsharedlibs = "yes"; then *-*-cygwin*) natdynlink=true;; i[3456]86-*-linux*) natdynlink=true;; x86_64-*-linux*) natdynlink=true;; - i[3456]86-*-darwin10.*) + i[3456]86-*-darwin[89].*) natdynlink=true;; + i[3456]86-*-darwin*) if test $arch64 == true; then natdynlink=true fi;; - i[3456]86-*-darwin[89]*) natdynlink=true;; powerpc64-*-linux*) natdynlink=true;; sparc-*-linux*) natdynlink=true;; i686-*-kfreebsd*) natdynlink=true;; |