diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2007-08-04 18:50:34 +0200 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2007-08-04 18:50:34 +0200 |
commit | 3836edaccf2d9027d01b9d7c7b7a29df512b8d7c (patch) | |
tree | 36c51982f99ea6e97164213ac808a52c4889c8b7 /Lisp | |
parent | 39df905ad0ca7fe6bc4e893fb0a2d793f45a9ab8 (diff) |
Do not use a hardcoded path to libobjcl.
darcs-hash:6c225015baacffcbbc4642f2bfc29617e9bee737
Diffstat (limited to 'Lisp')
-rw-r--r-- | Lisp/libobjcl.lisp | 13 |
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) |