gnu: rust-1.55: Remove bundled libraries.
* gnu/packages/rust.scm (rust-1.55)[source]: Adjust snippet to remove bundled libraries.master
parent
f4a6d989bb
commit
f1b14a1524
|
@ -380,6 +380,10 @@ safety and thread safety guarantees.")
|
|||
;; find . -not -type d -executable -exec file {} \+ | grep ELF
|
||||
(delete-file "vendor/vte/vim10m_match")
|
||||
(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)$"))
|
||||
;; Add support for riscv64-linux.
|
||||
(substitute* "vendor/tikv-jemallocator/src/lib.rs"
|
||||
((" target_arch = \"s390x\"," all)
|
||||
|
|
Reference in New Issue