X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=interfaces%2Fclsql-uffi%2Fclsql-uffi-loader.cl;h=3313aef77d4cef5ee084eaf778c1980d96d0aec2;hb=da7a9d71f5424ad017be7fd1c4ca17aaffa91b2a;hp=b9dfcb2ad00f1081bf91e1291a6ef0883321dbfa;hpb=dce3b76e9ea80c3782e1077d64730aff251f92b6;p=clsql.git diff --git a/interfaces/clsql-uffi/clsql-uffi-loader.cl b/interfaces/clsql-uffi/clsql-uffi-loader.cl index b9dfcb2..3313aef 100644 --- a/interfaces/clsql-uffi/clsql-uffi-loader.cl +++ b/interfaces/clsql-uffi/clsql-uffi-loader.cl @@ -7,7 +7,7 @@ ;;;; Programmers: Kevin M. Rosenberg ;;;; Date Started: Mar 2002 ;;;; -;;;; $Id: clsql-uffi-loader.cl,v 1.4 2002/05/14 15:58:45 kevin Exp $ +;;;; $Id: clsql-uffi-loader.cl,v 1.8 2002/05/14 16:10:55 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -20,10 +20,11 @@ (in-package :clsql-uffi) (defvar *clsql-uffi-library-filename* - (translate-logical-pathname - #+(or linux unix) "CL-LIBRARY:clsql;interfaces;clsql-uffi;clsql-uffi.so" - #+(or mswindows win32) "CL-LIBRARY:clsql;interfaces;clsql-uffi;clsql-uffi.dll" - )) + (uffi:find-foreign-library + "clsql-uffi" + `(,(translate-logical-pathname + "CL-LIBRARY:clsql;interfaces;clsql-mysql;") + "/usr/share/common-lisp/source/clsql/interfaces/clsql-mysql/"))) (defvar *clsql-uffi-supporting-libraries* '("c") "Used only by CMU. List of library flags needed to be passed to ld to