mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-22 01:45:19 +01:00
wscript: finally disable building opus for dedicated
This commit is contained in:
parent
ca2a6635b6
commit
a7d4cafe10
@ -107,7 +107,7 @@ def configure(conf):
|
||||
|
||||
def build(bld):
|
||||
is_cxx_link = False
|
||||
libs = [ 'public', 'dllemu', 'opus' ]
|
||||
libs = [ 'public', 'dllemu' ]
|
||||
|
||||
# basic build: dedicated only
|
||||
source = bld.path.ant_glob([
|
||||
@ -165,7 +165,8 @@ def build(bld):
|
||||
'client/*.c',
|
||||
'client/vgui/*.c',
|
||||
'client/avi/*.c'])
|
||||
|
||||
libs += ['opus']
|
||||
|
||||
includes = ['common', 'server', 'client', 'client/vgui', 'tests', '.', '../public', '../common', '../filesystem', '../pm_shared' ]
|
||||
|
||||
if bld.env.SINGLE_BINARY:
|
||||
|
2
wscript
2
wscript
@ -47,7 +47,7 @@ SUBDIRS = [
|
||||
Subproject('game_launch', lambda x: not x.env.SINGLE_BINARY and x.env.DEST_OS != 'android'),
|
||||
|
||||
# disable only by external dependency presense
|
||||
Subproject('3rdparty/opus', lambda x: not x.env.HAVE_SYSTEM_OPUS),
|
||||
Subproject('3rdparty/opus', lambda x: not x.env.HAVE_SYSTEM_OPUS and not x.env.DEDICATED),
|
||||
|
||||
# enabled optionally
|
||||
Subproject('utils/mdldec', lambda x: x.env.ENABLE_UTILS),
|
||||
|
Loading…
Reference in New Issue
Block a user