diff options
author | Andy Polyakov <appro@openssl.org> | 2002-12-14 20:52:19 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2002-12-14 20:52:19 +0000 |
commit | 4d77d5b316e51f99557e8447065c9282a5e6a4c4 (patch) | |
tree | 7dba992978317f076ec42224a70bb519e6f963cb /Makefile.shared | |
parent | 2f98abbcb6cfd6ffcf45d5587286f1f849184594 (diff) |
New DETECT_GNU_LD procedure.
Diffstat (limited to 'Makefile.shared')
-rw-r--r-- | Makefile.shared | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Makefile.shared b/Makefile.shared index dd7bf8dbc7..d01edfdd42 100644 --- a/Makefile.shared +++ b/Makefile.shared @@ -108,10 +108,8 @@ LINK_SO_A_UNPACKED= \ SHOBJECTS=$$UNPACKDIR/*.o; \ $(LINK_SO) && rm -rf $$UNPACKDIR -DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \ - my_ld=`${CC} -print-prog-name=ld 2>&1` && \ - [ -n "$$my_ld" ] && \ - $$my_ld -v 2>&1 | grep 'GNU ld' >/dev/null 2>&1 +DETECT_GNU_LD=(${CC} -Wl,-V /dev/null 2>&1 | grep '^GNU ld' )>/dev/null + DO_GNU=$(CALC_VERSIONS); \ SHLIB=lib$(LIBNAME).so \ SHLIB_SUFFIX= \ |