windows build working again
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 4 May 2022 17:05:40 +0000 (12:05 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Wed, 4 May 2022 17:05:40 +0000 (12:05 -0500)
build.bat

index 2cc4af06285e208026fa6d32553809c19acb71c0..edb0768295448369cf89a56eaae6085b9220d62d 100644 (file)
--- a/build.bat
+++ b/build.bat
@@ -33,7 +33,7 @@ del *.ilk > NUL 2> NUL
 del *.obj > NUL 2> NUL
 del misc\icon_resource.res
 
-cl /MT /std:c17 /TC /I include /I lib/common/include /D_USRDLL /D_WINDLL src\onyx_runtime.c /link /DLL /OUT:onyx_runtime.dll
+cl /MT /std:c17 /TC /I include /I lib/common/include /D_USRDLL /D_WINDLL src\onyx_runtime.c /link /DLL ws2_32.lib /OUT:onyx_runtime.dll
 
 del onyx_runtime.obj
 del onyx_runtime.lib