summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-11-16 10:39:52 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:45:31 +0100
commite2ba39bb580369e84253639c5588e5e547858030 (patch)
tree3930fb4d40f0c0f130e370819238ca1dc9e94869 /source4
parentff23cad8e33c5e64a3fd063d4bfc90953144c3d8 (diff)
downloadsamba-e2ba39bb580369e84253639c5588e5e547858030.tar.gz
samba-e2ba39bb580369e84253639c5588e5e547858030.tar.bz2
samba-e2ba39bb580369e84253639c5588e5e547858030.zip
r25993: build: HOSTLD should always match HOSTCC if not specified
metze (This used to be commit 941dfdbbb47d18c94bff8bd0452326e6f5ce768f)
Diffstat (limited to 'source4')
-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])