diff --git a/packages/bat/build.sh b/packages/bat/build.sh index fa2e0675f..a02a13d50 100644 --- a/packages/bat/build.sh +++ b/packages/bat/build.sh @@ -9,6 +9,10 @@ TERMUX_PKG_SRCURL=https://github.com/sharkdp/bat/archive/v$TERMUX_PKG_VERSION.ta TERMUX_PKG_DEPENDS="less, zlib" TERMUX_PKG_BUILD_IN_SRC=yes +termux_step_pre_configure() { + CFLAGS="$CFLAGS $CPPFLAGS" +} + termux_step_post_make_install() { mkdir -p $TERMUX_PREFIX/share/man/man1 cp $TERMUX_PKG_SRCDIR/doc/bat.1 $TERMUX_PREFIX/share/man/man1/