Skip to content

Commit b44feab

Browse files
committed
Codesign dylibs after stripping the debug symbols
1 parent 6360bcc commit b44feab

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

utils/build-script-impl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3500,6 +3500,12 @@ for host in "${ALL_HOSTS[@]}"; do
35003500
'(' -perm -0111 -or -name "*.a" ')' -type f -print | \
35013501
xargs -n 1 -P ${BUILD_JOBS} $(xcrun_find_tool strip) -S
35023502

3503+
# Codesign dylibs after strip tool
3504+
# rdar://45388785
3505+
find "${host_install_destdir}${TOOLCHAIN_PREFIX}/" \
3506+
'(' -name "*.dylib" ')' -type f -print | \
3507+
xargs -n 1 -P ${BUILD_JOBS} $(xcrun_find_tool codesign) -f -s -
3508+
35033509
{ set +x; } 2>/dev/null
35043510
fi
35053511
fi

0 commit comments

Comments
 (0)