r5562: *** empty log message ***
authorKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 26 Aug 2003 17:39:47 +0000 (17:39 +0000)
committerKevin M. Rosenberg <kevin@rosenberg.net>
Tue, 26 Aug 2003 17:39:47 +0000 (17:39 +0000)
src/libraries.lisp

index 094433548d3d14532bd13dba8bdfcd9609c477d7..5e72a920ef96c89bd0d0c42b7592843a52f81615 100644 (file)
@@ -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