diff options
author | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2001-12-21 00:26:38 +0000 |
---|---|---|
committer | Jacques Garrigue <garrigue at math.nagoya-u.ac.jp> | 2001-12-21 00:26:38 +0000 |
commit | a6177f23232c19e41eb38172b068cc55290c93d5 (patch) | |
tree | 9f5d043997ed988c74fdbc3a8ed9fef3dd21e291 /configure | |
parent | 23c9041c622089f826a26bbb42b7a8c6b354b74d (diff) | |
download | ocaml-a6177f23232c19e41eb38172b068cc55290c93d5.tar.gz |
shared libs on solaris
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4180 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -419,18 +419,19 @@ if test $withsharedlibs = "yes"; then sharedcccompopts="-fPIC" if sh ./solaris-ld; then mksharedlib="$bytecc -shared -o" - byteccrpath="-Wl,-R" + byteccrpath="-R" mksharedlibrpath="-R" else mksharedlib="$bytecc -shared -o" bytecclinkopts="$bytecclinkopts -Wl,-E" byteccrpath="-Wl,-rpath," - mksharedlibrpath="-rpath " + mksharedlibrpath="-Wl,-rpath," fi shared_libraries_supported=true;; *) sharedcccompopts="-KPIC" - byteccrpath="-Wl,-R" + byteccrpath="-R" + mksharedlibrpath="-R" mksharedlib="/usr/ccs/bin/ld -G -o" shared_libraries_supported=true;; esac;; |