X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=db-postgresql%2Fpostgresql-loader.lisp;h=ffaf53f2b7bd87bf1c955ffdeb9cc41b87697f31;hb=158b76b5e78149ab852afccbd479aa26ff76dc33;hp=e33f1354db5d2aaf055f74bf99bbbce97ac07721;hpb=8a8ee2d7d791b7a3efaed06420802a925d16fca3;p=clsql.git diff --git a/db-postgresql/postgresql-loader.lisp b/db-postgresql/postgresql-loader.lisp index e33f135..ffaf53f 100644 --- a/db-postgresql/postgresql-loader.lisp +++ b/db-postgresql/postgresql-loader.lisp @@ -36,13 +36,13 @@ set to the right path before compiling or loading the system.") (let ((libpath (uffi:find-foreign-library "libpq" '("/opt/postgresql/lib/" "/usr/local/lib/" - #+64bit "/usr/lib64/" + #+(or 64bit x86-64) "/usr/lib64/" "/usr/lib/" "/postgresql/lib/" "/usr/local/pgsql/lib/" "/usr/lib/pgsql/" - "/opt/pgsql/lib/pgsql" "/sw/lib/pgsql/") + "/opt/pgsql/lib/pgsql" "/sw/lib/pgsql/" "/sw/lib/") :drive-letters '("C" "D" "E") #+(or macosx darwin ccl-5.0) :types - #+(or macosx darwin ccl-5.0) '("so") + #+(or macosx darwin ccl-5.0) '("so" "dylib") ))) (if (uffi:load-foreign-library libpath :module "postgresql"