From 52ef81b229a696c4db90965c0cecb3fce721b71c Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Mon, 30 Dec 2019 00:38:38 +0100 Subject: [PATCH] clamav: Fix arm build again --- packages/clamav/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/clamav/build.sh b/packages/clamav/build.sh index a119ce68a..23b629b36 100644 --- a/packages/clamav/build.sh +++ b/packages/clamav/build.sh @@ -30,6 +30,10 @@ TERMUX_PKG_CONFFILES=" etc/clamav/clamd.conf etc/clamav/freshclam.conf" +termux_step_pre_configure() { + export OBJC=$CC +} + termux_step_post_make_install() { for conf in clamd.conf freshclam.conf; do sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|" \