From e2ba39bb580369e84253639c5588e5e547858030 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 16 Nov 2007 10:39:52 +0100 Subject: r25993: build: HOSTLD should always match HOSTCC if not specified metze (This used to be commit 941dfdbbb47d18c94bff8bd0452326e6f5ce768f) --- source4/build/m4/check_ld.m4 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'source4/build') diff --git a/source4/build/m4/check_ld.m4 b/source4/build/m4/check_ld.m4 index c53cf5465b..ddda7e193b 100644 --- a/source4/build/m4/check_ld.m4 +++ b/source4/build/m4/check_ld.m4 @@ -29,13 +29,7 @@ PICFLAG="" # allow for --with-hostld=gcc AC_ARG_WITH(hostld,[ --with-hostld=linker choose host linker], [HOSTLD=$withval], -[ -if test z"$cross_compiling" = "yes"; then - HOSTLD='$(HOSTCC)' -else - HOSTLD='$(LD)' -fi -]) +[HOSTLD=$HOSTCC]) AC_MSG_CHECKING([whether to try to build shared libraries on $host_os]) -- cgit