When system-p is T, the default is :object, not :fasl.

This commit is contained in:
jgarcia 2008-05-19 09:25:49 +00:00
parent 2630eed983
commit b213c88975

View file

@ -28,11 +28,13 @@
string result))
result))
(defun compile-file-pathname (name &key (output-file name) (type :fasl)
(defun compile-file-pathname (name &key (output-file name) (type nil type-supplied-p)
verbose print c-file h-file data-file shared-data-file
system-p load)
(let ((format '())
(extension '()))
(unless type-supplied-p
(setf type (if system-p :object :fasl)))
(case type
((:shared-library :dll) (setf format +shared-library-format+))
((:static-library :library :lib) (setf format +static-library-format+))