From dfb1a0ee295db6714daf9d530717d82f39896e4e Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 7 May 2017 09:40:41 +0200 Subject: [PATCH] git: Fix build if utfcpp is installed Fixes #1000. --- packages/git/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/git/build.sh b/packages/git/build.sh index ddf8d2f9..9789213e 100755 --- a/packages/git/build.sh +++ b/packages/git/build.sh @@ -40,6 +40,9 @@ termux_step_pre_configure () { # remains without bumped modification times, so are not picked # up by the package): rm -Rf $TERMUX_PREFIX/share/git-perl + + # Fixes build if utfcpp is installed: + CPPFLAGS="-I$TERMUX_PKG_SRCDIR $CPPFLAGS" } termux_step_post_make_install () { -- 2.11.0