From e663f5f211469940ee2403f7cb18b29e3ab597bb Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sun, 10 Apr 2011 23:06:58 +0000 Subject: specify linker for ECL --- src/lisp/core.lisp.in | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/lisp/core.lisp.in') diff --git a/src/lisp/core.lisp.in b/src/lisp/core.lisp.in index 7f7e6357..f746c4c1 100644 --- a/src/lisp/core.lisp.in +++ b/src/lisp/core.lisp.in @@ -853,11 +853,13 @@ (compile-file file :output-file out-file :system-p t :c-file t :h-file t) (compile-file file :output-file out-file :system-p t)) - #+:ecl (if (and result (not failure-p) - (null (c::build-fasl (compile-file-pathname out-file) - :lisp-files `(,out-file) - :ld-flags (extra-runtime-libs)))) - (setq result nil)) + #+:ecl + (let ((compiler::*ld* oa-cxx)) + (if (and result (not failure-p) + (null (c::build-fasl (compile-file-pathname out-file) + :lisp-files `(,out-file) + :ld-flags (extra-runtime-libs)))) + (setq result nil))) (cond ((null result) (|coreError| "compilation of Lisp code failed")) (failure-p -- cgit v1.2.3