From 2415cccef61d094d5e6d4682959f04670d00281f Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sat, 15 Jul 2017 02:44:13 +0200 Subject: [PATCH] Avoid bundling lib/libc++_shared.so in a package --- build-package.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build-package.sh b/build-package.sh index 325f1fb14..05bec428c 100755 --- a/build-package.sh +++ b/build-package.sh @@ -841,7 +841,9 @@ termux_step_extract_into_massagedir() { # Build diff tar with what has changed during the build: cd $TERMUX_PREFIX - tar -N "$TERMUX_BUILD_TS_FILE" -czf "$TARBALL_ORIG" . + tar -N "$TERMUX_BUILD_TS_FILE" \ + --exclude='lib/libc++_shared.so' --exclude='lib/libstdc++.so' \ + -czf "$TARBALL_ORIG" . # Extract tar in order to massage it mkdir -p "$TERMUX_PKG_MASSAGEDIR/$TERMUX_PREFIX"