summaryrefslogtreecommitdiff
path: root/Lisp/libobjcl.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'Lisp/libobjcl.lisp')
-rw-r--r--Lisp/libobjcl.lisp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Lisp/libobjcl.lisp b/Lisp/libobjcl.lisp
index 6b14115..fda484c 100644
--- a/Lisp/libobjcl.lisp
+++ b/Lisp/libobjcl.lisp
@@ -18,9 +18,10 @@
(in-package #:mulk.objective-cl)
-(dolist (subdir '("shared_obj/" "obj/"))
- (pushnew (merge-pathnames subdir objcl-asdf:*objc-obj-dir*)
- cffi:*foreign-library-directories*))
+(eval-when (:compile-toplevel :load-toplevel :execute)
+ (dolist (subdir '("shared_obj/" "obj/"))
+ (pushnew (merge-pathnames subdir objcl-asdf:*objc-obj-dir*)
+ cffi:*foreign-library-directories*)))
(define-foreign-library libobjcl
(:unix (:or "libobjcl.so"