gnu: rust-bootstrap: Remove bundled libraries.
* gnu/packages/rust.scm (rust-bootstrap)[source]: Adjust snippet to remove bundled libraries.
This commit is contained in:
parent
1dffb1e5c8
commit
f4a6d989bb
1 changed files with 5 additions and 1 deletions
|
|
@ -166,7 +166,11 @@
|
||||||
;; Remove vendored dynamically linked libraries.
|
;; Remove vendored dynamically linked libraries.
|
||||||
;; find . -not -type d -executable -exec file {} \+ | grep ELF
|
;; find . -not -type d -executable -exec file {} \+ | grep ELF
|
||||||
(delete-file "vendor/vte/vim10m_match")
|
(delete-file "vendor/vte/vim10m_match")
|
||||||
(delete-file "vendor/vte/vim10m_table")))
|
(delete-file "vendor/vte/vim10m_table")
|
||||||
|
;; Also remove the bundled (mostly Windows) libraries.
|
||||||
|
;; find vendor -not -type d -exec file {} \+ | grep PE32
|
||||||
|
(for-each delete-file
|
||||||
|
(find-files "vendor" ".*\\.(a|dll|exe|lib)$"))))
|
||||||
(patches (search-patches "rustc-1.54.0-src.patch"))
|
(patches (search-patches "rustc-1.54.0-src.patch"))
|
||||||
(patch-flags '("-p0")))) ;default is -p1
|
(patch-flags '("-p0")))) ;default is -p1
|
||||||
(outputs '("out" "cargo"))
|
(outputs '("out" "cargo"))
|
||||||
|
|
|
||||||
Reference in a new issue