[OpenAL] Fix link errors on static build on windows and add OpenAL 1.22.0 (#1234)

pull/1235/head
Arthapz 3 years ago committed by GitHub
parent f9b76ebd82
commit 42bf1fa0b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      packages/o/openal-soft/xmake.lua

@ -10,6 +10,7 @@ package("openal-soft")
add_urls("https://github.com/kcat/openal-soft.git")
add_versions("1.21.1", "8ac17e4e3b32c1af3d5508acfffb838640669b4274606b7892aa796ca9d7467f")
add_versions("1.22.0", "814831a8013d7365dfd1917b27f1fb6e723f3be3fe1c6a7ff4516425d8392f68")
if is_plat("mingw") and is_subhost("msys") then
add_extsources("pacman::openal")
@ -22,7 +23,7 @@ package("openal-soft")
add_deps("cmake")
if is_plat("windows", "mingw") then
add_syslinks("ole32", "shell32", "user32", "winmm")
add_syslinks("ole32", "shell32", "user32", "winmm", "kernel32")
elseif is_plat("linux", "cross") then
add_syslinks("dl", "pthread")
elseif is_plat("android") then

Loading…
Cancel
Save