- (let ((lib (make-pathname :defaults (component-pathname c)
- :type (uffi:default-foreign-library-type))))
- (and (probe-file lib)
- (> (file-write-date lib) (file-write-date (component-pathname c))))))
-
-#+(or allegro lispworks cmu sbcl openmcl mcl scl)
+ (or (and (probe-file #p"/usr/lib/clsql/clsql_uffi.so") t)
+ (let ((lib (make-pathname :defaults (component-pathname c)
+ :type (funcall (intern (symbol-name '#:default-foreign-library-type)
+ (find-package '#:uffi))))))
+ (and (probe-file lib) (probe-file (component-pathname c))
+ (> (file-write-date lib) (file-write-date (component-pathname c)))))))
+