diff --git a/srcpkgs/oxipng/template b/srcpkgs/oxipng/template index 7c0fe86b505..065ea3d643d 100644 --- a/srcpkgs/oxipng/template +++ b/srcpkgs/oxipng/template @@ -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 }