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.
2 parents 5c1f76c + 817f0e7 commit df9b362Copy full SHA for df9b362
utils/build-script-impl
@@ -2388,7 +2388,7 @@ for host in "${ALL_HOSTS[@]}"; do
2388
HOST_SIM_LIB_PATH="$HOST_CXX_BUILTINS_DIR/$SIM_LIB_NAME"
2389
if [[ -f "${HOST_SIM_LIB_PATH}" ]]; then
2390
call cp "${HOST_SIM_LIB_PATH}" "${DEST_BUILTINS_DIR}/${SIM_LIB_NAME}"
2391
- elif [[ "${HOST_LIB_PATH}" ]]; then
+ elif [[ -f "${HOST_LIB_PATH}" ]]; then
2392
# The simulator .a might not exist if the host
2393
# Xcode is old. In that case, copy over the
2394
# device library to the simulator location to allow
0 commit comments