summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2004-03-12 21:24:45 +0000
committerAndy Polyakov <appro@openssl.org>2004-03-12 21:24:45 +0000
commit387fd00c473617dd706e5cd1d709cb82c00710fb (patch)
tree9f05dd450b696a6cf8becf0fe5d7b12e93a128be /Makefile.org
parent00b9c1be7d4b4d33a61cc862530190cc337c7a8a (diff)
IRIX 6.x shared build fix-up.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.org b/Makefile.org
index 7c02a2b929..9d48dc1e42 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -456,10 +456,12 @@ do_irix-shared:
if [ "${SHLIBDIRS}" = "ssl" -a -n "$(LIBKRB5)" ]; then \
libs="$(LIBKRB5) $$libs"; \
fi; \
- ( set -x; ${CC} ${SHARED_LDFLAGS} \
+ ( WHOLELIB="-all lib$$i.a -notall"; \
+ (${CC} -v 2>&1 | grep gcc) > /dev/null && WHOLELIB="-Wl,-all,lib$$i.a,-notall"; \
+ set -x; ${CC} ${SHARED_LDFLAGS} \
-shared -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
-Wl,-soname,lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
- -all lib$$i.a $$libs ${EX_LIBS} -lc) || exit 1; \
+ ${WHOLELIB} $$libs ${EX_LIBS} -lc) || exit 1; \
libs="-l$$i $$libs"; \
done; \
fi