We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e038f8 commit 77bd312Copy full SHA for 77bd312
utils/build-script-impl
@@ -3264,10 +3264,10 @@ for host in "${ALL_HOSTS[@]}"; do
3264
'(' -perm -0111 -or -name "*.a" ')' -type f -print | \
3265
xargs -n 1 -P ${BUILD_JOBS} $(xcrun_find_tool strip) -S
3266
3267
- # Codesign dylibs after strip tool
+ # Codesign dylibs and executables in usr/bin after strip tool
3268
# rdar://45388785
3269
find "${CURRENT_INSTALL_DIR}${CURRENT_PREFIX}/" \
3270
- '(' -name "*.dylib" ')' -type f -print | \
+ '(' '(' -path "*/usr/bin/*" -and -perm -0111 ')' -or -name "*.dylib" ')' -type f -print | \
3271
xargs -n 1 -P ${BUILD_JOBS} $(xcrun_find_tool codesign) -f -s -
3272
fi
3273
0 commit comments