Avoid bundling lib/libc++_shared.so in a package

This commit is contained in:
Fredrik Fornwall 2017-07-15 02:44:13 +02:00
parent 369f1e26e3
commit 2415cccef6

View File

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