Skip to content

Commit 185c17c

Browse files
committed
windows link stuff attempt
1 parent e26f917 commit 185c17c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

premake5.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ project "sodium"
3131
}
3232
filter { "action:gmake*" }
3333
buildoptions { "-Wno-unused-parameter", "-Wno-unused-function", "-Wno-unknown-pragmas", "-Wno-unused-variable", "-Wno-type-limits" }
34+
if os.target() == "windows" then
35+
links { "ws2_32", "iphlpapi" }
36+
end
3437

3538
project "test"
3639
files { "test.cpp" }

0 commit comments

Comments
 (0)