ECL's LOAD-FOREIGN-LIBRARY can only handle modules whose access path is known

This commit is contained in:
jjgarcia 2005-10-04 11:19:24 +00:00
parent a4343c031f
commit 6e02b093c5

View file

@ -607,6 +607,8 @@
(defmacro load-foreign-library (filename &key module supporting-libraries force-load)
(declare (ignore module force-load supporting-libraries))
(unless (constantp filename)
(error "~&LOAD-FOREIGN-LIBRARY: ~A is not a constant expression. This is currently not supported." filename))
`(eval-when (:compile-toplevel)
(do-load-foreign-library ,filename)))