mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[build-script] In symbol extraction, also codesign executables after 'strip' and not just dylibs (#64574)
This commit is contained in:
committed by
GitHub
parent
5e038f8b5d
commit
77bd312a88
@@ -3264,10 +3264,10 @@ for host in "${ALL_HOSTS[@]}"; do
|
||||
'(' -perm -0111 -or -name "*.a" ')' -type f -print | \
|
||||
xargs -n 1 -P ${BUILD_JOBS} $(xcrun_find_tool strip) -S
|
||||
|
||||
# Codesign dylibs after strip tool
|
||||
# Codesign dylibs and executables in usr/bin after strip tool
|
||||
# rdar://45388785
|
||||
find "${CURRENT_INSTALL_DIR}${CURRENT_PREFIX}/" \
|
||||
'(' -name "*.dylib" ')' -type f -print | \
|
||||
'(' '(' -path "*/usr/bin/*" -and -perm -0111 ')' -or -name "*.dylib" ')' -type f -print | \
|
||||
xargs -n 1 -P ${BUILD_JOBS} $(xcrun_find_tool codesign) -f -s -
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user