From 895babcf414683cc9671ee95986dc6d634831694 Mon Sep 17 00:00:00 2001 From: Stephen Date: Wed, 29 Nov 2017 08:18:08 -0800 Subject: [PATCH] Update build.sh --- packages/libllvm/build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/libllvm/build.sh b/packages/libllvm/build.sh index a61540978..0a7cb450e 100644 --- a/packages/libllvm/build.sh +++ b/packages/libllvm/build.sh @@ -59,6 +59,9 @@ termux_step_post_extract_package () { } termux_step_host_build () { + if [ ! -z ${TERMUX_INSTALL_DEPS+x} ]; then + apt-get $TERMUX_APT purge ndk-sysroot + fi termux_setup_cmake cmake -G "Unix Makefiles" $TERMUX_PKG_SRCDIR \ -DLLVM_BUILD_TESTS=OFF \