mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
New DETECT_GNU_LD procedure.
This commit is contained in:
parent
2f98abbcb6
commit
4d77d5b316
@ -108,10 +108,8 @@ LINK_SO_A_UNPACKED= \
|
|||||||
SHOBJECTS=$$UNPACKDIR/*.o; \
|
SHOBJECTS=$$UNPACKDIR/*.o; \
|
||||||
$(LINK_SO) && rm -rf $$UNPACKDIR
|
$(LINK_SO) && rm -rf $$UNPACKDIR
|
||||||
|
|
||||||
DETECT_GNU_LD=${CC} -v 2>&1 | grep '^gcc' >/dev/null 2>&1 && \
|
DETECT_GNU_LD=(${CC} -Wl,-V /dev/null 2>&1 | grep '^GNU ld' )>/dev/null
|
||||||
my_ld=`${CC} -print-prog-name=ld 2>&1` && \
|
|
||||||
[ -n "$$my_ld" ] && \
|
|
||||||
$$my_ld -v 2>&1 | grep 'GNU ld' >/dev/null 2>&1
|
|
||||||
DO_GNU=$(CALC_VERSIONS); \
|
DO_GNU=$(CALC_VERSIONS); \
|
||||||
SHLIB=lib$(LIBNAME).so \
|
SHLIB=lib$(LIBNAME).so \
|
||||||
SHLIB_SUFFIX= \
|
SHLIB_SUFFIX= \
|
||||||
|
Loading…
Reference in New Issue
Block a user