summaryrefslogtreecommitdiff
path: root/Lisp
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-10-13 18:51:02 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-10-13 18:51:02 +0200
commitc82df70302f8ca78868f775f9f2a6c4ef6ba9f9c (patch)
treedf63c10f52d27d5eae71ec71f6b50ce35eff9b82 /Lisp
parentb0df5f479ec352c0a9775a4e7a0e60c27f6482c9 (diff)
Support Objective-C code compilation via ASDF.
darcs-hash:ef27415b24423ea9a86ff20f7dde1ca55fa01df1
Diffstat (limited to 'Lisp')
-rw-r--r--Lisp/libobjcl.lisp12
1 files changed, 3 insertions, 9 deletions
diff --git a/Lisp/libobjcl.lisp b/Lisp/libobjcl.lisp
index 1e6d3df..c15282d 100644
--- a/Lisp/libobjcl.lisp
+++ b/Lisp/libobjcl.lisp
@@ -18,15 +18,9 @@
(in-package #:mulk.objective-cl)
-(dolist (subdir '("shared_obj" "obj"))
- (pushnew
- (merge-pathnames (make-pathname :directory (list
- :relative "Objective-C" subdir)
- :type ""
- :name "")
- (asdf:component-pathname (asdf:find-system
- '#:objective-cl)))
- cffi:*foreign-library-directories*))
+(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"