From f9032b108f3f0a4dc8ced361c264d703a777aed7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Leclercq?= Date: Fri, 27 Dec 2024 10:06:30 +0100 Subject: [PATCH] Update xmake.lua --- packages/o/openal-soft/xmake.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/o/openal-soft/xmake.lua b/packages/o/openal-soft/xmake.lua index a27b933a751..fc820101365 100644 --- a/packages/o/openal-soft/xmake.lua +++ b/packages/o/openal-soft/xmake.lua @@ -36,7 +36,8 @@ package("openal-soft") elseif is_plat("linux", "cross") then add_syslinks("dl", "pthread") elseif is_plat("bsd", "cross") then - add_syslinks("pthread") + add_ldflags("pthread") + add_shflags("pthread") elseif is_plat("android") then add_syslinks("dl", "OpenSLES") elseif is_plat("macosx", "iphoneos") then