r9115: new deb package
[clsql.git] / db-odbc / odbc-loader.lisp
index 658da2e53faaca1ea403429d35535f2e063189ae..63e39d87d673dbe0c8ff4268dc162e3f8f8fa96e 100644 (file)
@@ -26,6 +26,7 @@
       "/sw/lib/"
       "/usr/local/lib/"
       "/home/kevin/debian/src/clsql/db-odbc/"
+      "/windows/system32/"
       "/odbc/lib/opt/")
    :drive-letters '("C")))
   
@@ -41,7 +42,8 @@ set to the right path before compiling or loading the system.")
   *odbc-library-loaded*)
                                      
 (defmethod clsql-base-sys:database-type-load-foreign ((database-type (eql :odbc)))
-  (uffi:load-foreign-library *odbc-library-path*) 
+  (uffi:load-foreign-library *odbc-library-path*
+                            :module "odbc") 
   (setq *odbc-library-loaded* t))
 
 (clsql-base-sys:database-type-load-foreign :odbc)