Skip to content

Commit

Permalink
MSVC build: Avoid using zstd MSYS program
Browse files Browse the repository at this point in the history
pal1000 committed Apr 10, 2024
1 parent 325d8e0 commit e247836
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion buildscript/modules/winflexbison.cmd
Original file line number Diff line number Diff line change
@@ -7,4 +7,8 @@
@set flexloc=%devroot%\flexbison
@IF %flexstate%==1 IF NOT EXIST "%devroot%\flexbison\win_flex.exe" set flexloc=%msysloc%\usr\bin
@IF %flexstate%==1 IF NOT EXIST "%devroot%\flexbison\win_flex.exe" IF NOT EXIST "%msysloc%\usr\bin\flex.exe" set flexstate=0
@endlocal&set flexstate=%flexstate%&set flexloc=%flexloc%
@endlocal&set flexstate=%flexstate%&set flexloc=%flexloc%
@IF %flexstate%==1 IF "%flexloc%"=="%msysloc%\usr\bin" IF EXIST "%msysloc%\flexbison\" RD /S /Q "%msysloc%\flexbison"
@IF %flexstate%==1 IF "%flexloc%"=="%msysloc%\usr\bin" ROBOCOPY "%msysloc%\usr" "%msysloc%\flexbison" /E
@IF %flexstate%==1 IF "%flexloc%"=="%msysloc%\usr\bin" IF EXIST "%msysloc%\flexbison\bin\zstd.exe" del "%msysloc%\flexbison\bin\zstd.exe"
@IF %flexstate%==1 IF "%flexloc%"=="%msysloc%\usr\bin" set flexloc=%msysloc%\flexbison\bin

0 comments on commit e247836

Please sign in to comment.