summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
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;;