Try to fix component-relative-pathname for ECL.
authorFrancois-Rene Rideau <tunes@google.com>
Sun, 28 Oct 2012 00:35:24 +0000 (09:35 +0900)
committerFrancois-Rene Rideau <tunes@google.com>
Sun, 28 Oct 2012 00:35:24 +0000 (09:35 +0900)
bundle.lisp

index 0d61249..6857141 100644 (file)
   (every #'(lambda (c) (typep c 'compiled-file)) (module-components c)))
 
 (defmethod component-relative-pathname ((component compiled-file))
-  (compile-file-pathname
-   (coerce-pathname
-    (or (slot-value component 'relative-pathname)
-        (component-name component))
-    :type *fasl-type*)))
+  (coerce-pathname
+   (or (slot-value component 'relative-pathname)
+       (component-name component))
+   :type *fasl-type*
+   :defaults (component-parent-pathname component)))
 
 (defmethod output-files (o (c compiled-file))
   (declare (ignore o c))