X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=clsql-mysql.asd;h=e8d89a871a6c9ddabd85fd490cd45976b05c7983;hb=43d8527468398b19462b3198c9079a4b937f43fc;hp=2247697282d36de124efd5710d2a0141850973a4;hpb=bf641c516d77330e150d0f1b07fd02dceaae3ef4;p=clsql.git diff --git a/clsql-mysql.asd b/clsql-mysql.asd index 2247697..e8d89a8 100644 --- a/clsql-mysql.asd +++ b/clsql-mysql.asd @@ -23,8 +23,10 @@ (unless (find-package 'uffi) (asdf:operate 'asdf:load-op 'uffi))) -(defvar *library-file-dir* (append (pathname-directory *load-truename*) - (list "db-mysql"))) +(defvar *library-file-dir* + (merge-pathnames "db-mysql/" + (make-pathname :name nil :type nil + :defaults *load-truename*))) (defclass clsql-mysql-source-file (c-source-file) ()) @@ -42,7 +44,7 @@ found (make-pathname :name (component-name c) :type library-file-type - :directory *library-file-dir*))))) + :defaults *library-file-dir*))))) (defmethod perform ((o load-op) (c clsql-mysql-source-file)) t) @@ -58,9 +60,7 @@ (unless (zerop (run-shell-command #-freebsd "cd ~A; make" #+freebsd "cd ~A; gmake" - (namestring (make-pathname :name nil - :type nil - :directory *library-file-dir*)))) + (namestring *library-file-dir*))) (error 'operation-error :component c :operation o)))) (defmethod operation-done-p ((o compile-op) (c clsql-mysql-source-file))