r11021: 2006-08-13 Kevin Rosenberg (kevin@rosenberg.net)
[uffi.git] / tests / foreign-loader.lisp
index ab0d6a28b7e6d9b1bb619eb2d74c186097dc0886..208307895a37363c28e6ddaccf439e10b5054c95 100644 (file)
@@ -18,6 +18,8 @@
 
 (in-package uffi-tests)
 
+#+clisp (uffi:load-foreign-library "/usr/lib/libz.so" :module "z")
+#-clisp
 (unless (uffi:load-foreign-library
         (uffi:find-foreign-library
          #-(or macosx darwin)
          (list (pathname-directory *load-pathname*)
                "/usr/local/lib/" #+(or 64bit x86-64) "/usr/lib64/"
                "/usr/lib/" "/zlib/"))
-        :module "zlib" 
+        :module "zlib"
         :supporting-libraries '("c"))
   (warn "Unable to load zlib"))
-  
-(unless (uffi:load-foreign-library 
+
+#+clisp (uffi:load-foreign-library "/home/kevin/debian/src/uffi/tests/uffi-c-test.so" :module "uffi_tests")
+#-clisp
+(unless (uffi:load-foreign-library
         (uffi:find-foreign-library
-         '(#+(or 64bit x86-64) "uffi-c-test64" "uffi-c-test") 
+         '(#+(or 64bit x86-64) "uffi-c-test64" "uffi-c-test")
          (list (pathname-directory *load-truename*)
                "/usr/lib/uffi/"
                "/home/kevin/debian/src/uffi/tests/"))