Skip to content

Commit 3d6dacc

Browse files
ewrfdvMygod
authored andcommitted
Fix windows building issues (#1768)
* Update make.bat * Update make.bat
1 parent 33a8967 commit 3d6dacc

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

core/src/overture/make.bat

+12-12
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,6 @@ MKDIR %TARGET%\arm64-v8a>nul 2>nul
3030

3131
SET CC=%ANDROID_ARM_TOOLCHAIN%\bin\arm-linux-androideabi-gcc.exe
3232

33-
REM Check environment availability
34-
IF NOT EXIST %CC% (
35-
ECHO "gcc not found"
36-
EXIT 1
37-
)
38-
39-
WHERE python.exe
40-
IF "%ERRORLEVEL%" == 1 (
41-
ECHO "python not found"
42-
EXIT 1
43-
)
44-
4533
IF NOT EXIST %ANDROID_ARM_CC% (
4634
ECHO "Make standalone toolchain for ARM arch"
4735
python.exe %ANDROID_NDK_HOME%\build\tools\make_standalone_toolchain.py --arch arm ^
@@ -60,6 +48,18 @@ IF NOT EXIST %ANDROID_X86_CC% (
6048
--api %MIN_API% --install-dir %ANDROID_X86_TOOLCHAIN%
6149
)
6250

51+
REM Check environment availability
52+
IF NOT EXIST %CC% (
53+
ECHO "gcc not found"
54+
EXIT 1
55+
)
56+
57+
WHERE python.exe
58+
IF "%ERRORLEVEL%" == 1 (
59+
ECHO "python not found"
60+
EXIT 1
61+
)
62+
6363
IF NOT EXIST %DIR%\go\bin\go.exe (
6464
ECHO "Build the custom go"
6565

0 commit comments

Comments
 (0)