oxipng: fix cross

This commit is contained in:
Michal Vasilek 2022-08-20 00:36:46 +02:00
parent 6cb179d5e9
commit f452a06568
1 changed files with 5 additions and 0 deletions

View File

@ -11,6 +11,11 @@ changelog="https://raw.githubusercontent.com/shssoichiro/oxipng/master/CHANGELOG
distfiles="https://github.com/shssoichiro/oxipng/archive/v${version}.tar.gz"
checksum=2a3197c9a0afdd91967f9981da7ce684b40eced4191c26c167b3c214a7cfd9ec
pre_build() {
# fixes an indexmap error when cross compiling
cargo update --package autocfg:1.0.1 --precise 1.1.0
}
post_install() {
vlicense LICENSE
}