From: Kevin M. Rosenberg Date: Wed, 27 Aug 2003 20:12:02 +0000 (+0000) Subject: r5565: *** empty log message *** X-Git-Tag: v1.6.1~182 X-Git-Url: http://git.kpe.io/?p=uffi.git;a=commitdiff_plain;h=c3c2c51723711ab8f9ad8be19f52312b7b65f81f r5565: *** empty log message *** --- diff --git a/src/libraries.lisp b/src/libraries.lisp index f91f3db..592f08c 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.12 2003/08/27 20:00:21 kevin Exp $ +;;;; $Id: libraries.lisp,v 1.13 2003/08/27 20:02:59 kevin Exp $ ;;;; ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -107,6 +107,7 @@ library type if type is not specified." #+sbcl (let ((type (pathname-type (parse-namestring filename)))) (if (or (string-equal type "so") + (string-equal type "bundle") (string-equal type "dylib")) (sb-alien::load-1-foreign filename) (sb-alien:load-foreign filename diff --git a/tests/Makefile b/tests/Makefile index 1ec75c7..f2b9e7f 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -5,7 +5,7 @@ # Programer: Kevin M. Rosenberg # Date Started: Mar 2002 # -# CVS Id: $Id: Makefile,v 1.21 2003/08/27 19:58:25 kevin Exp $ +# CVS Id: $Id: Makefile,v 1.22 2003/08/27 20:12:02 kevin Exp $ # # This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg # @@ -36,8 +36,8 @@ linux: $(source) Makefile rm $(object) mac: - gcc -bundle -c $(source) -o $(object).dylib - ld -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress /usr/lib/libz.dylib -o z.dylib + gcc -bundle -c $(source) -o $(base).bundle + ld -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress /usr/lib/libz.dylib -o z.bundle mac-old: cc -dynamic -c $(source) -o $(object)