summaryrefslogtreecommitdiff
path: root/source4/build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build')
-rw-r--r--source4/build/m4/check_ld.m48
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])