mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-03-06 04:10:47 -08:00
ECL's LOAD-FOREIGN-LIBRARY can only handle modules whose access path is known
This commit is contained in:
parent
a4343c031f
commit
6e02b093c5
1 changed files with 2 additions and 0 deletions
|
|
@ -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)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue