uffi-loader

Edi Weitz <[email protected]>
Newsgroups gmane.lisp.clsql.devel
Message-ID <[email protected]>
The attached patch makes it easier to find the C library if source and
binaries aren't in the same place. This happens, e.g., if you use
CLSQL with Debian's clc-register-user-package.

Cheers,
Edi.

_______________________________________________
CLSQL-Devel mailing list
[email protected]
http://lists.b9.com/mailman/listinfo/clsql-devel
clsql-uffi-loader.patch (text/x-patch, 444 B)
--- clsql-uffi-loader.lisp.orig	2004-06-09 01:22:03.000000000 +0200
+++ clsql-uffi-loader.lisp	2004-06-09 01:23:31.000000000 +0200
@@ -21,7 +21,7 @@
 (defvar *clsql-uffi-library-filename* 
   (uffi:find-foreign-library
    "uffi"
-   `(,(make-pathname :directory (pathname-directory *load-truename*))
+   `(,clsql-uffi-system::*library-file-dir*
      "/usr/lib/clsql/"
      "/opt/lisp/clsql/uffi/"
      "/home/kevin/debian/src/clsql/uffi/")
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.