From 1ffeb5ac03651f36503f562be96a040f5084e669 Mon Sep 17 00:00:00 2001 From: Francois-Rene Rideau <tunes@google.com> Date: Fri, 28 Mar 2014 01:31:58 -0400 Subject: [PATCH] Support both older and newer versions of ECL wrt which prebuilt asdf object/library is available. --- bundle.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bundle.lisp b/bundle.lisp index 91af8803..654a7764 100644 --- a/bundle.lisp +++ b/bundle.lisp @@ -472,7 +472,8 @@ itself.")) ;; operation on a system and its dependencies ;; (setf *load-system-operation* 'load-bundle-op)) (defun asdf-library-pathname () - #+ecl (compile-file-pathname "sys:asdf" :type :object) + #+ecl (or (probe-file* (compile-file-pathname "sys:asdf" :type :lib)) ;; new style + (probe-file* (compile-file-pathname "sys:asdf" :type :object))) ;; old style #+mkcl (make-pathname :type (bundle-pathname-type :lib) :defaults #p"sys:contrib;asdf")) (defun compiler-library-pathname () -- GitLab