r10700: fix xargs chmod
[clsql.git] / clsql-uffi.asd
index ad9f93f47c6ec0a314f9c2ba5f59a52469f534e8..51eb3f1239900ee8e0fb857f82cc2d49f2ff616a 100644 (file)
       (error 'operation-error :component c :operation o))))
 
 (defmethod operation-done-p ((o compile-op) (c clsql-uffi-source-file))
-  (or (and (probe-file #p"/usr/lib/clsql/uffi.so") t)
+  (or (and (probe-file #p"/usr/lib/clsql/clsql_uffi.so") t)
       (let ((lib (make-pathname :defaults (component-pathname c)
                                :type (uffi:default-foreign-library-type))))
-       (and (probe-file lib)
+       (and (probe-file lib) (probe-file (component-pathname c))
             (> (file-write-date lib) (file-write-date (component-pathname c)))))))
   
 (defsystem clsql-uffi