X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Flibraries.lisp;h=5e72a920ef96c89bd0d0c42b7592843a52f81615;hb=0a8dea50aae12c02abb585e78d130f7af937140f;hp=094433548d3d14532bd13dba8bdfcd9609c477d7;hpb=7599e54026e90011250b3113f9f2276eec162a3c;p=uffi.git diff --git a/src/libraries.lisp b/src/libraries.lisp index 0944335..5e72a92 100644 --- a/src/libraries.lisp +++ b/src/libraries.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Feb 2002 ;;;; -;;;; $Id: libraries.lisp,v 1.10 2003/08/14 19:35:05 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 ;;;; @@ -99,7 +99,8 @@ library type if type is not specified." 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