From 8647110a1081231fc0225894fc555b28796ec09c Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Sat, 28 Oct 2023 10:10:03 +0300 Subject: [PATCH] Revert "engine: wscript: move libasound uselib under linux condition, as the ALSA interface is only relevant for Linux" This reverts commit 48e44f005730d7bef5e281cd3fe4bb64652a19a1. --- engine/wscript | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/wscript b/engine/wscript index 48226bcc..6f009913 100644 --- a/engine/wscript +++ b/engine/wscript @@ -144,13 +144,12 @@ def build(bld): libs += ['USER32', 'SHELL32', 'GDI32', 'ADVAPI32', 'DBGHELP', 'PSAPI', 'WS2_32' ] source += bld.path.ant_glob(['platform/win32/*.c']) elif bld.env.DEST_OS not in ['dos', 'nswitch', 'psvita']: #posix - libs += [ 'M', 'RT', 'PTHREAD'] + libs += [ 'M', 'RT', 'PTHREAD', 'ASOUND'] if not bld.env.STATIC: libs += ['DL'] source += bld.path.ant_glob(['platform/posix/*.c']) if bld.env.DEST_OS == 'linux': - libs += ['ASOUND'] source += bld.path.ant_glob(['platform/linux/*.c']) if bld.env.DEST_OS == 'irix':