Add extsources to libsdl_net (#566)

pull/575/head
PucklaMotzer09 4 years ago committed by GitHub
parent 0243f5b5fa
commit 26d2ca6ee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/l/libsdl_net/xmake.lua

@ -11,6 +11,12 @@ package("libsdl_net")
add_versions("2.0.1", "52031ed9d08a5eb1eda40e9a0409248bf532dde5e8babff5780ef1925657d59f")
end
if is_plat("linux") then
add_extsources("pacman::sdl2_net", "apt::libsdl2-net-dev")
elseif is_plat("macosx") then
add_extsources("brew::sdl2_net")
end
add_deps("libsdl")
add_links("SDL2_net")

Loading…
Cancel
Save