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.
-f
1 parent 20b155a commit 0f5352fCopy full SHA for 0f5352f
utils/build-script-impl
@@ -2365,7 +2365,7 @@ for host in "${ALL_HOSTS[@]}"; do
2365
HOST_SIM_LIB_PATH="$HOST_CXX_BUILTINS_DIR/$SIM_LIB_NAME"
2366
if [[ -f "${HOST_SIM_LIB_PATH}" ]]; then
2367
call cp "${HOST_SIM_LIB_PATH}" "${DEST_BUILTINS_DIR}/${SIM_LIB_NAME}"
2368
- elif [[ "${HOST_LIB_PATH}" ]]; then
+ elif [[ -f "${HOST_LIB_PATH}" ]]; then
2369
# The simulator .a might not exist if the host
2370
# Xcode is old. In that case, copy over the
2371
# device library to the simulator location to allow
0 commit comments