r5564: *** empty log message ***
[uffi.git] / tests / foreign-loader.lisp
index a4e924a97828755f86b15b1e92e7de5c392ee45f..68fe923886a689929eb900d5c75c55d88a512a68 100644 (file)
@@ -7,7 +7,7 @@
 ;;;; Author:        Kevin M. Rosenberg
 ;;;; Date Started:  Feb 2002
 ;;;;
-;;;; $Id: foreign-loader.lisp,v 1.6 2003/08/26 17:27:01 kevin Exp $
+;;;; $Id: foreign-loader.lisp,v 1.7 2003/08/27 19:58:25 kevin Exp $
 ;;;;
 ;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
 ;;;;
 (in-package uffi-tests)
 
 (unless (uffi:load-foreign-library
-        #-(or macosx darwin)
         (uffi:find-foreign-library
+         #-(or macosx darwin)
          "libz"
-         '("/usr/local/lib/" "/usr/lib/" "/zlib/")
-         :types '("so" "a"))
-        #+(or macosx darwin)
-        (uffi:find-foreign-library
-         "z" (list (pathname-directory *load-pathname*)))
+         #+(or macosx darwin)
+         "z"
+         (list (pathname-directory *load-pathname*)
+               "/usr/local/lib/" "/usr/lib/" "/zlib/"))
         :module "zlib" 
         :supporting-libraries '("c"))
   (warn "Unable to load zlib"))
   
 (unless (uffi:load-foreign-library 
-        (uffi:find-foreign-library "uffi-c-test-lib" 
-                                   (list
-                                    (pathname-directory *load-truename*)
-                                    "/usr/lib/uffi/"))
+        (uffi:find-foreign-library
+         "uffi-c-test-lib" 
+         (list (pathname-directory *load-truename*)
+               "/usr/lib/uffi/"))
         :supporting-libraries '("c")
         :module "uffi_tests")
   (warn "Unable to load uffi-c-test-lib library"))