From: Kevin M. Rosenberg Date: Tue, 14 May 2002 16:03:52 +0000 (+0000) Subject: r2038: Debian build X-Git-Tag: v3.8.6~1072 X-Git-Url: http://git.kpe.io/?p=clsql.git;a=commitdiff_plain;h=a7b7b4da9a1c350e673b37961e39627638c0e1d7 r2038: Debian build --- diff --git a/interfaces/clsql-uffi/clsql-uffi-loader.cl b/interfaces/clsql-uffi/clsql-uffi-loader.cl index b9dfcb2..c9dd921 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.5 2002/05/14 16:03:52 kevin Exp $ ;;;; ;;;; This file, part of CLSQL, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -20,10 +20,12 @@ (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 + :names "clsql-uffi" + :directories + (translate-logical-pathname + "CL-LIBRARY:clsql;interfaces;clsql-uffi;clsql-uffi.so") + "/usr/share/common-lisp/source/clsql/interfaces/clsql-uffi/")) (defvar *clsql-uffi-supporting-libraries* '("c") "Used only by CMU. List of library flags needed to be passed to ld to