summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2001-12-21 00:26:38 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2001-12-21 00:26:38 +0000
commita6177f23232c19e41eb38172b068cc55290c93d5 (patch)
tree9f5d043997ed988c74fdbc3a8ed9fef3dd21e291 /configure
parent23c9041c622089f826a26bbb42b7a8c6b354b74d (diff)
downloadocaml-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-xconfigure7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure b/configure
index 2dbbcd5514..6f3b50b08e 100755
--- a/configure
+++ b/configure
@@ -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;;