wscript: strip lib prefix from new opus and vorbis targets, don't link them in dedicated

This commit is contained in:
Alibek Omarov
2024-12-02 21:59:11 +03:00
parent 6b6d3b3770
commit 51fa7d2611
5 changed files with 28 additions and 36 deletions

View File

@@ -141,7 +141,7 @@ def build(bld):
bld(name = 'engine_includes', export_includes = '. common common/imagelib', use = 'filesystem_includes')
is_cxx_link = False
libs = [ 'engine_includes', 'public', 'dllemu', 'werror', 'opus', 'libvorbis', 'libvorbisfile', 'libopusfile' ]
libs = [ 'engine_includes', 'public', 'dllemu', 'werror' ]
# basic build: dedicated only
source = bld.path.ant_glob([
@@ -238,7 +238,7 @@ def build(bld):
'client/soundlib/libmpg/*.c',
])
is_cxx_link = True
libs += ['bzip2', 'MultiEmulator']
libs += ['bzip2', 'MultiEmulator', 'opus', 'opusfile', 'vorbis', 'vorbisfile']
rpath = bld.env.DEFAULT_RPATH