Update xmake.lua (#732)

pull/733/head
ruki 3 years ago committed by GitHub
parent 56796cf259
commit 6d0a1b0ef1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/l/libsdl/xmake.lua

@ -50,9 +50,9 @@ package("libsdl")
on_load(function (package)
if package:config("use_sdlmain") then
package:add("links", "SDL2main", "SDL2")
package:add("defines", "SDL_MAIN_HANDLED")
else
package:add("links", "SDL2")
package:add("defines", "SDL_MAIN_HANDLED")
end
if package:is_plat("linux") and package:config("with_x") then
package:add("deps", "libxext", {private = true})

Loading…
Cancel
Save