Skip to content

Commit b07c940

Browse files
committed
Don't exit with error if we don't have libraries to copy
1 parent 024487b commit b07c940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/build-script-impl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1364,7 +1364,7 @@ function copy_embedded_compiler_rt_builtins_from_darwin_host_toolchain() {
13641364
HOST_LIB_CLANG_DIR="${HOST_CXX_DIR}/../lib/clang"
13651365
DEST_LIB_CLANG_DIR="${clang_dest_dir}/lib/clang"
13661366

1367-
[ -d "${HOST_LIB_CLANG_DIR}" -a -d "${DEST_LIB_CLANG_DIR}" ] || return
1367+
[ -d "${HOST_LIB_CLANG_DIR}" -a -d "${DEST_LIB_CLANG_DIR}" ] || return 0
13681368

13691369
DEST_CXX_BUILTINS_VERSION=$(ls -1 "${DEST_LIB_CLANG_DIR}")
13701370
DEST_BUILTINS_DIR="${clang_dest_dir}/lib/clang/${DEST_CXX_BUILTINS_VERSION}/lib/darwin"

0 commit comments

Comments
 (0)