summaryrefslogtreecommitdiff
path: root/Makefile.org
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-03-24 11:45:57 +0000
committerRichard Levitte <levitte@openssl.org>2001-03-24 11:45:57 +0000
commit73aeb61c3fc34d1bcb8c9839324c7694cdf533d3 (patch)
treeff6a66578397e849e0e2ac792b9f69fb7c73ebed /Makefile.org
parent3041903844e376bcf840e5b08bc7d76604ff5c2d (diff)
downloadopenssl-new-73aeb61c3fc34d1bcb8c9839324c7694cdf533d3.tar.gz
ln on Solaris expects -f to come before -s.
The linux-shared method is actually gcc-specific, so call it gnu-shared as well.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.org b/Makefile.org
index 09cb7128e1..f1227df32d 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -250,7 +250,7 @@ link-shared:
if [ -n "$(SHARED_LIBS_LINK_EXTS)" ]; then \
tmp="$(SHARED_LIBS_LINK_EXTS)"; \
for j in $${tmp:-x}; do \
- ( set -x; ln -s -f $$prev lib$$i$$j ); \
+ ( set -x; ln -f -s $$prev lib$$i$$j ); \
prev=lib$$i$$j; \
done; \
fi; \
@@ -259,7 +259,8 @@ link-shared:
build-shared: clean-shared do_$(SHLIB_TARGET) link-shared
do_bsd-gcc-shared: linux-shared
-do_linux-shared:
+do_linux-shared: do_gnu-shared
+do_gnu-shared:
libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
( set -x; ${CC} -shared -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
-Wl,-S,-soname=lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \