Skip to content

Commit 56016a8

Browse files
committed
[embedded] Avoid strip-ing .a embedded libraries
1 parent 1113cff commit 56016a8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/build-script-impl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3345,10 +3345,11 @@ for host in "${ALL_HOSTS[@]}"; do
33453345
printJSONEndTimestamp dsymutil
33463346

33473347
# Strip executables, shared libraries and static libraries in
3348-
# `host_install_destdir`. Avoid touching clang builtins .a files.
3348+
# `host_install_destdir`. Avoid touching .a clang builtins and embedded libraries.
33493349
find "${CURRENT_INSTALL_DIR}${CURRENT_PREFIX}/" \
33503350
'(' -perm -0111 -or -name "*.a" ')' -type f -print | \
33513351
grep_that_allows_no_matches -v "/clang/lib/darwin/" | \
3352+
grep_that_allows_no_matches -v "/lib/swift/embedded/" | \
33523353
xargs -t -n 1 -P ${BUILD_JOBS} $(xcrun_find_tool strip) -S
33533354

33543355
# Codesign dylibs and executables in usr/bin after strip tool

0 commit comments

Comments
 (0)