r8885: pre 2.3.4
[clsql.git] / db-postgresql / postgresql-loader.lisp
index 9a3539e97e7722b2e6dceeb3c88e224bca41f560..48dd433315d3a4e819b6dbde95d23514ef7fbab0 100644 (file)
@@ -16,8 +16,7 @@
 ;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
 ;;;; *************************************************************************
 
-(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
-(in-package :postgresql)
+(in-package #:postgresql)
 
 
 (defvar *postgresql-supporting-libraries* '("crypt" "c")
@@ -40,7 +39,10 @@ set to the right path before compiling or loading the system.")
                    "/usr/lib/" "/postgresql/lib/"
                    "/usr/local/pgsql/lib/" "/usr/lib/pgsql/"
                    "/opt/pgsql/lib/pgsql" "/sw/lib/pgsql/")
-                 :drive-letters '("C" "D" "E"))))
+                 :drive-letters '("C" "D" "E")
+                 #+(or macosx darwin ccl-5.0) :types
+                 #+(or macosx darwin ccl-5.0) '("so")
+                 )))
     (if        (uffi:load-foreign-library libpath
                                   :module "postgresql"
                                   :supporting-libraries