;;; The different targets are defined by specialization.
;;;
-(defparameter *fasl-type* (pathname-type (compile-file-pathname "foo.lisp"))
- "pathname TYPE for lisp FASt Loading files")
+(defun fasl-type ()
+ "pathname TYPE for lisp FASt Loading files"
+ (#-ecl load-time-value #+ecl identity
+ (pathname-type (compile-file-pathname "foo.lisp"))))
(defclass bundle-op (operation)
((build-args :initarg :args :initform nil :accessor bundle-op-build-args)
(coerce-pathname
(or (slot-value component 'relative-pathname)
(component-name component))
- :type *fasl-type*
+ :type (fasl-type)
:defaults (component-parent-pathname component)))
(defmethod output-files (o (c compiled-file))
(defmethod perform ((o bundle-op) (c system))
(let* ((input-files (input-files o c))
- (fasl-files (remove *fasl-type* input-files :key #'pathname-type :test-not #'string=))
- (non-fasl-files (remove *fasl-type* input-files :key #'pathname-type :test #'string=))
+ (fasl-files (remove (fasl-type) input-files :key #'pathname-type :test-not #'string=))
+ (non-fasl-files (remove (fasl-type) input-files :key #'pathname-type :test #'string=))
(output-files (output-files o c))
(output-file (first output-files)))
(when input-files