Skip to content

Commit 42ed474

Browse files
committed
Fix check for ffi library dependencies.
1 parent e4d1253 commit 42ed474

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dist-cache.lisp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,9 @@ if needed."
269269
(ignore-errors (read stream))))))
270270

271271
(defun ffi-library-dependency-p (dependency)
272-
(mismatch "FFI:" dependency))
272+
(string-equal "FFI:" dependency
273+
:end2 (min (length dependency)
274+
(length "FFI:"))))
273275

274276
(defun remove-ffi-deps (winners)
275277
(loop for (file-name system-name . deps) in winners

0 commit comments

Comments
 (0)