summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/build/m4/check_ld.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/build/m4/check_ld.m4 b/source4/build/m4/check_ld.m4
index f0268cc013..53e7d90019 100644
--- a/source4/build/m4/check_ld.m4
+++ b/source4/build/m4/check_ld.m4
@@ -7,7 +7,9 @@ dnl -------------------------------------------------------
dnl
AC_PATH_PROG(PROG_LD,ld)
+LD=${PROG_LD}
AC_PROG_LD_GNU
+LD=""
AC_PATH_PROG(PROG_AR, ar)
AC_SUBST(STLD)