build: cargo-build-system: Find more pregenerated files.
* guix/build/cargo-build-system.scm (check-for-pregenerated-files): Also search for MacOS dynamic libraries.
parent
5fcd7836d6
commit
0058ed81b0
|
@ -114,7 +114,7 @@ Cargo.toml file present at its root."
|
||||||
(define* (check-for-pregenerated-files #:rest _)
|
(define* (check-for-pregenerated-files #:rest _)
|
||||||
"Check the source code for files which are known to generally be bundled
|
"Check the source code for files which are known to generally be bundled
|
||||||
libraries or executables."
|
libraries or executables."
|
||||||
(let ((pregenerated-files (find-files "." "\\.(a|dll|exe|lib)$")))
|
(let ((pregenerated-files (find-files "." "\\.(a|dll|dylib|exe|lib)$")))
|
||||||
(when (not (null-list? pregenerated-files))
|
(when (not (null-list? pregenerated-files))
|
||||||
(error "Possible pre-generated files found:" pregenerated-files))))
|
(error "Possible pre-generated files found:" pregenerated-files))))
|
||||||
|
|
||||||
|
|
Reference in New Issue