clamav: Fix arm build again

This commit is contained in:
Fredrik Fornwall 2019-12-30 00:38:38 +01:00
parent a5b7c5065a
commit 52ef81b229

View File

@ -30,6 +30,10 @@ TERMUX_PKG_CONFFILES="
etc/clamav/clamd.conf etc/clamav/clamd.conf
etc/clamav/freshclam.conf" etc/clamav/freshclam.conf"
termux_step_pre_configure() {
export OBJC=$CC
}
termux_step_post_make_install() { termux_step_post_make_install() {
for conf in clamd.conf freshclam.conf; do for conf in clamd.conf freshclam.conf; do
sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|" \ sed "s|@TERMUX_PREFIX@|$TERMUX_PREFIX|" \