Skip to content

Commit

Permalink
Fix windows build script by adding lib to last build command
Browse files Browse the repository at this point in the history
  • Loading branch information
BaseMax committed Sep 16, 2024
1 parent 10d6d06 commit b2c0e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build-windows.bat
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ for %%f in (%sources%) do (

REM Link all object files into the final executable
echo Linking object files...
gcc -o %output% *.wino
gcc -o %output% *.wino -lws2_32
if errorlevel 1 (
echo Error: Linking failed with exit code %errorlevel%
exit /b %errorlevel%
Expand Down

0 comments on commit b2c0e5f

Please sign in to comment.