From ab86c48186a05391f1c1fbc3f90759cc0caff45b Mon Sep 17 00:00:00 2001
From: dos-reis <gdr@axiomatics.org>
Date: Sun, 28 Nov 2010 02:06:02 +0000
Subject: Work around GCL bug on Windows when invoking the linker.

---
 src/lisp/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/lisp/Makefile.in b/src/lisp/Makefile.in
index 2df4a9b9..295c5eeb 100644
--- a/src/lisp/Makefile.in
+++ b/src/lisp/Makefile.in
@@ -96,7 +96,7 @@ ifeq (@axiom_lisp_flavor@,gcl)
 	     '      (compiler::*cc* (concatenate (quote string) ' \
 	     '                                   $(GCL_LTCC)    ' \
 	     '                                   sys-cc))       ' \
-	     '      (compiler::*ld* $(GCL_LTLD)))               ' \
+	     '      (compiler::*ld* (if (member :mingw32 *features*) compiler::*ld* $(GCL_LTLD))))               ' \
              '(compiler::link (quote ($(FASLS))) "lisp$(EXEEXT)" ' \
              ' (format nil "(progn (let ((*load-path* (cons ~S *load-path*))'\
                                         ' (si::*load-types* ~S)))' \
-- 
cgit v1.2.3