summaryrefslogtreecommitdiffstats
path: root/source4/build/m4/check_ld.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/m4/check_ld.m4')
-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 f0268cc013b..53e7d900197 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)