Skip to content

Commit

Permalink
Revert "engine: wscript: move libasound uselib under linux condition,…
Browse files Browse the repository at this point in the history
… as the ALSA interface is only relevant for Linux"

This reverts commit 48e44f0.
  • Loading branch information
a1batross committed Oct 28, 2023
1 parent 48e44f0 commit 8647110
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions engine/wscript
Original file line number Diff line number Diff line change
Expand Up @@ -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':
Expand Down

0 comments on commit 8647110

Please sign in to comment.