From 92dcdb446d617116437a08d68b86ea62c5475b8f Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 12 Mar 2016 15:39:17 -0500 Subject: [PATCH] Do not run termux-elf-cleaner on debug builds --- build-package.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-package.sh b/build-package.sh index 3e60e6bb5..ee45ab4b8 100755 --- a/build-package.sh +++ b/build-package.sh @@ -458,7 +458,9 @@ termux_step_massage () { done set -e -o pipefail # Remove DT_ entries which the android 5.1 linker warns about: - find . -type f -print0 | xargs -0 $TERMUX_ELF_CLEANER + if [ "$TERMUX_DEBUG" = "" ]; then + find . -type f -print0 | xargs -0 $TERMUX_ELF_CLEANER + fi test ! -z "$TERMUX_PKG_RM_AFTER_INSTALL" && rm -Rf $TERMUX_PKG_RM_AFTER_INSTALL