;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Feb 2002
;;;;
-;;;; $Id: libraries.lisp,v 1.9 2003/07/08 12:37:21 kevin Exp $
+;;;; $Id: libraries.lisp,v 1.11 2003/08/26 17:39:47 kevin Exp $
;;;;
;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
(defun load-foreign-library (filename &key module supporting-libraries
force-load)
- #+(or allegro lispworks mcl) (declare (ignore module supporting-libraries))
+ #+(or allegro mcl) (declare (ignore module supporting-libraries))
#+(or cmu scl sbcl) (declare (ignore module))
(when (and filename (probe-file filename))
supporting-libraries)))
#+sbcl
(let ((type (pathname-type (parse-namestring filename))))
- (if (string-equal type "so")
+ (if (or (string-equal type "so")
+ (string-equal type "dylib"))
(sb-alien::load-1-foreign filename)
(sb-alien:load-foreign filename
:libraries