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|" \