mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add missing -f to check which checks if a compiler-rt archive is present
This commit is contained in:
@@ -2388,7 +2388,7 @@ for host in "${ALL_HOSTS[@]}"; do
|
||||
HOST_SIM_LIB_PATH="$HOST_CXX_BUILTINS_DIR/$SIM_LIB_NAME"
|
||||
if [[ -f "${HOST_SIM_LIB_PATH}" ]]; then
|
||||
call cp "${HOST_SIM_LIB_PATH}" "${DEST_BUILTINS_DIR}/${SIM_LIB_NAME}"
|
||||
elif [[ "${HOST_LIB_PATH}" ]]; then
|
||||
elif [[ -f "${HOST_LIB_PATH}" ]]; then
|
||||
# The simulator .a might not exist if the host
|
||||
# Xcode is old. In that case, copy over the
|
||||
# device library to the simulator location to allow
|
||||
|
||||
Reference in New Issue
Block a user