r11084: 31 Aug 2006 Kevin Rosenberg <kevin@rosenberg.net>
[clsql.git] / db-mysql / mysql-loader.lisp
index aa903222a62627e7294e4e3a74819752c4f67826..0ec9c03c2f74e592575605f6ececc8e776bfa609 100644 (file)
@@ -37,6 +37,8 @@ set to the right path before compiling or loading the system.")
   *mysql-library-loaded*)
 
 (defmethod clsql-sys:database-type-load-foreign ((database-type (eql :mysql)))
+  (clsql:push-library-path
+   (make-pathname :directory clsql-mysql-system::*library-file-dir*))
   (clsql-uffi:find-and-load-foreign-library *mysql-library-candidate-names*
                                             :module "mysql"
                                             :supporting-libraries *mysql-supporting-libraries*)