Do not run termux-elf-cleaner on debug builds

This commit is contained in:
Fredrik Fornwall 2016-03-12 15:39:17 -05:00
parent 839f6ac48f
commit 92dcdb446d

View File

@ -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