Mercurial
diff third_party/raylib/raylib.bzl @ 178:94705b5986b3
[ThirdParty] Added WRK and luajit for load testing.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Thu, 22 Jan 2026 20:10:30 -0800 |
| parents | 24fe8ff94056 |
| children |
line wrap: on
line diff
--- a/third_party/raylib/raylib.bzl Wed Jan 21 19:40:48 2026 -0800 +++ b/third_party/raylib/raylib.bzl Thu Jan 22 20:10:30 2026 -0800 @@ -29,6 +29,12 @@ "/DEFAULTLIB:user32.lib", "/DEFAULTLIB:shell32.lib", ], + # I am not sure what these do lol + linkopts_wasm = [ + "-sUSE_GLFW=3", # Tells Emscripten to provide GLFW3 compatibility + "-sUSE_WEBGL2=1", # Enables WebGL2 support + "-sASYNCIFY", # Often needed for Raylib's main loop if not using emscripten_set_main_loop + ], static = False ): """ @@ -59,7 +65,7 @@ "//config:macos": linkopts_macos, "//config:linux": linkopts_linux, "//config:windows": linkopts_windows, - "//conditions:default": [], + "//conditions:default": linkopts_wasm, }), linkstatic = static, )