From 0b1cf3b364a0e70b6736882a7a93d8dd5626a008 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Wed, 8 Aug 2018 13:05:55 -0300 Subject: [PATCH] bloaty: fix cross --- srcpkgs/bloaty/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/bloaty/template b/srcpkgs/bloaty/template index bcd509759ed..ebe13af361b 100644 --- a/srcpkgs/bloaty/template +++ b/srcpkgs/bloaty/template @@ -12,6 +12,10 @@ homepage="https://github.com/google/bloaty" distfiles="https://github.com/google/bloaty/releases/download/v${version}/bloaty-${version}.tar.bz2" checksum=e1cf9830ba6c455218fdb50e7a8554ff256da749878acfaf77c032140d7ddde0 +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" protobuf" +fi + do_install() { vbin build/bloaty }