summaryrefslogtreecommitdiffstats
path: root/Makefile.org
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2001-03-24 13:31:11 +0100
committerRichard Levitte <levitte@openssl.org>2001-03-24 13:31:11 +0100
commit77a0f1d727b403d6df730ed76fa832c4d947233f (patch)
treee06cc345bdaf63d9f35acb1cf293bab251d584c9 /Makefile.org
parentgcc uses collect2, not ld, to link things. Therefore, when using gcc (diff)
downloadopenssl-77a0f1d727b403d6df730ed76fa832c4d947233f.tar.xz
openssl-77a0f1d727b403d6df730ed76fa832c4d947233f.zip
When using the native tools on Solaris, make damn sure the native ld
is used, even if the user has GNU ld earlier in his $PATH.
Diffstat (limited to 'Makefile.org')
-rw-r--r--Makefile.org3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.org b/Makefile.org
index f1227df32d..35f0621208 100644
--- a/Makefile.org
+++ b/Makefile.org
@@ -281,7 +281,8 @@ do_tru64-shared:
# This assumes that GNU utilities are *not* used
do_solaris-shared:
libs='-L. ${SHLIBDEPS}'; for i in ${SHLIBDIRS}; do \
- ( set -x; ${CC} -G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
+ ( PATH=/usr/ccs/bin:$$PATH ; export PATH; \
+ set -x; ${CC} -G -o lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
-h lib$$i.so.${SHLIB_MAJOR}.${SHLIB_MINOR} \
-z allextract lib$$i.a $$libs ${EX_LIBS} -lc ) || exit 1; \
libs="$$libs -l$$i"; \