From 6da4b4ac3aaf66fcf1d2325d82ea56beb2e0f885 Mon Sep 17 00:00:00 2001 From: dmitry <dmitry.puzyrkov@demlabs.net> Date: Mon, 22 Jul 2024 17:39:03 +0700 Subject: [PATCH] ... --- build.sh | 5 +++++ targets/windows.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index d476768..7ce5a56 100755 --- a/build.sh +++ b/build.sh @@ -87,6 +87,11 @@ then DEFAULT_TARGET="windows" fi +if [ "$MACHINE" == "MinGw" ] +then + DEFAULT_TARGET="windows" +fi + echo "Host machin is $MACHINE" BUILD_TARGET="${TARGET:-$DEFAULT_TARGET}" diff --git a/targets/windows.sh b/targets/windows.sh index d5e5c1a..b162637 100644 --- a/targets/windows.sh +++ b/targets/windows.sh @@ -46,7 +46,7 @@ then else #cmake command #mxe install prefix if configured by mxe, need to change it - CMAKE=(cmake -G "MSYS Makefiles") + CMAKE=(cmake -G "Unix Makefiles") MAKE=(make) echo "Windows target" -- GitLab