X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=clsql-mysql.asd;h=a229791304ebf382461acd183d63eb61b37844db;hp=7c77bab35f076f71dcd43646afa3c44cfb5575fa;hb=afc88420d03b627b214473078c3adc201de2de80;hpb=eb9d92a3c98130c7fe3b1bbc63dcfe285d02aba2 diff --git a/clsql-mysql.asd b/clsql-mysql.asd index 7c77bab..a229791 100644 --- a/clsql-mysql.asd +++ b/clsql-mysql.asd @@ -53,14 +53,15 @@ t)) (defmethod perform ((o compile-op) (c clsql-mysql-source-file)) - #-(or win32 mswindows) - (unless (zerop (run-shell-command - #-freebsd "cd ~A; make" - #+freebsd "cd ~A; gmake" - (namestring (make-pathname :name nil - :type nil - :directory *library-file-dir*)))) - (error 'operation-error :component c :operation o))) + (unless (operation-done-p o c) + #-(or win32 mswindows) + (unless (zerop (run-shell-command + #-freebsd "cd ~A; make" + #+freebsd "cd ~A; gmake" + (namestring (make-pathname :name nil + :type nil + :directory *library-file-dir*)))) + (error 'operation-error :component c :operation o)))) (defmethod operation-done-p ((o compile-op) (c clsql-mysql-source-file)) (or (and (probe-file #p"/usr/lib/clsql/mysql.so") t)