Skip to content

Commit d8cca36

Browse files
committed
tests: windows support
1 parent 31ee5ab commit d8cca36

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

recipes/xcomp.sh

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,13 @@ case $host_os in
99
Darwin)
1010
host_os="mac"
1111
;;
12+
MINGW*)
13+
host_os="windows"
14+
;;
1215
esac
1316

1417
host="${host_os}-${host_arch}"
1518

16-
case $host in
17-
"linux-x86_64" | "mac-x86_64" | "mac-arm64")
18-
;;
19-
*)
20-
echo "Unsupported build platform"
21-
exit 1
22-
;;
23-
esac
24-
2519
if [ $# -eq 0 ]; then
2620
target_os=$host_os
2721
target_arch=$host_arch

0 commit comments

Comments
 (0)