Skip to content

Commit d9c766c

Browse files
committed
Correct deployment-target regex for watchos/watchsimulator
1 parent c32c79b commit d9c766c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/build-script-impl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -892,7 +892,7 @@ function make_relative_symlink() {
892892
CROSS_COMPILE_HOSTS=($CROSS_COMPILE_HOSTS)
893893
for t in ${CROSS_COMPILE_HOSTS} ; do
894894
case ${t} in
895-
iphone* | appletv* | watchos* | linux-armv6 | linux-armv7 )
895+
iphone* | appletv* | watch* | linux-armv6 | linux-armv7 )
896896
;;
897897
*)
898898
echo "Unknown host to cross-compile for: ${t}"
@@ -980,7 +980,7 @@ function should_include_host_in_lipo() {
980980
local host="$1"
981981
if [[ $(has_cross_compile_hosts) ]] && [[ -z "${SKIP_MERGE_LIPO_CROSS_COMPILE_TOOLS}" ]]; then
982982
case ${host} in
983-
iphone* | appletv* | watchos* )
983+
iphone* | appletv* | watch* )
984984
echo 1
985985
;;
986986
esac
@@ -990,7 +990,7 @@ function should_include_host_in_lipo() {
990990
function host_has_darwin_symbols() {
991991
local host="$1"
992992
case ${host} in
993-
macosx* | iphone* | appletv* | watchos* )
993+
macosx* | iphone* | appletv* | watch* )
994994
echo 1
995995
;;
996996
esac

0 commit comments

Comments
 (0)