Target LD is different from ld when cross-compiling, change it together with CC.

Signed-off-by: Sergey Kvachonok <raven...@gmail.com>
---
 Makefile.config.in |    1 +
 configure.in       |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/Makefile.config.in b/Makefile.config.in
index c463868..69809d2 100644
--- a/Makefile.config.in
+++ b/Makefile.config.in
@@ -54,6 +54,7 @@ ASCIIDOC_FLAGS = --unsafe
 AWK = @AWK@
 CATALOGS = @CATALOGS@
 CC = @CC@
+LD = @LD@
 GIT = @GIT@
 CONFDIR = @CONFDIR@
 DOXYGEN = @DOXYGEN@
diff --git a/configure.in b/configure.in
index b0f8968..feba1bf 100644
--- a/configure.in
+++ b/configure.in
@@ -57,6 +57,7 @@ echo "Feature summary:" > features.log
 # ===================================================================
 
 AC_PROG_CC
+AC_CHECK_TOOL([LD], [ld])
 AC_PROG_AWK
 AC_PATH_PROGS(AWK, "$AWK")
 AC_PROG_RANLIB
-- 
1.7.3.3

_______________________________________________
elinks-dev mailing list
elinks-dev@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-dev

Reply via email to