r9325: * db-*/*-loader.lisp: Load 64-bit libraries on 64-bit platorms
[clsql.git] / db-sqlite / sqlite-loader.lisp
index 1cfcf21ffb675b52a20324907d5cb8be3bac6ff4..71e33854da3dc5aa0d664241dbf710a9805a2084 100644 (file)
@@ -37,7 +37,8 @@ set to the right path before compiling or loading the system.")
   #-clisp
   (let ((libpath (uffi:find-foreign-library
                  "libsqlite"
-                 '("/usr/lib/" "/usr/local/lib/")
+                 '(#+64bit "/usr/lib64/"
+                   "/usr/lib/" "/usr/local/lib/")
                  :drive-letters '("C" "D" "E"))))
     (if (uffi:load-foreign-library libpath
                                   :module "sqlite"