mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-09 05:41:46 +08:00
wscript: strip lib prefix from new opus and vorbis targets, don't link them in dedicated
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user