diff options
-rw-r--r-- | source4/build/m4/check_ld.m4 | 8 |
1 files changed, 1 insertions, 7 deletions
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]) |