summaryrefslogtreecommitdiff
path: root/Lisp
diff options
context:
space:
mode:
Diffstat (limited to 'Lisp')
-rw-r--r--Lisp/libobjcl.lisp13
1 files changed, 12 insertions, 1 deletions
diff --git a/Lisp/libobjcl.lisp b/Lisp/libobjcl.lisp
index bf246be..84d4aa6 100644
--- a/Lisp/libobjcl.lisp
+++ b/Lisp/libobjcl.lisp
@@ -1,8 +1,19 @@
(in-package #:mulk.objective-cl)
+(pushnew
+ (merge-pathnames (make-pathname :directory '(:relative "Objective-C"
+ "shared_obj")
+ :type :unspecific
+ :name :unspecific)
+ (asdf:component-pathname (asdf:find-system
+ '#:objective-cl)))
+ cffi:*foreign-library-directories*)
+
(define-foreign-library libobjcl
- (unix "/home/mulk/Dokumente/Projekte/Objective-CL/Objective-C/shared_obj/libobjcl.so"))
+ (:unix (:or "libobjcl.so"
+ "libobjcl.so.0"))
+ (t (:default "libobjcl")))
(use-foreign-library libobjcl)