mirror of
https://github.com/FWGS/hlsdk-xash3d
synced 2024-11-22 01:47:45 +01:00
wscript: move libdl check into client, as it's the only subproject that uses it
This commit is contained in:
parent
19f3e91978
commit
09a158f2e7
@ -27,6 +27,10 @@ def configure(conf):
|
||||
conf.env.USE_NOVGUI_SCOREBOARD = conf.options.USE_NOVGUI_SCOREBOARD
|
||||
conf.env.USE_VOICEMGR = conf.options.USE_VOICEMGR
|
||||
conf.env.GOLDSOURCE_SUPPORT = conf.options.GOLDSOURCE_SUPPORT
|
||||
|
||||
if conf.env.GOLDSOURCE_SUPPORT:
|
||||
conf.check_cc(lib='dl')
|
||||
|
||||
if conf.env.USE_VGUI:
|
||||
conf.load('vgui')
|
||||
if not conf.check_vgui():
|
||||
@ -46,7 +50,7 @@ def build(bld):
|
||||
'game_shared/voice_vgui_tweakdlg.cpp',
|
||||
'game_shared/voice_gamemgr.cpp',
|
||||
'game_shared/voice_status.cpp']
|
||||
|
||||
|
||||
if bld.env.USE_VGUI:
|
||||
defines += ['USE_VGUI']
|
||||
libs += ['VGUI']
|
||||
@ -54,7 +58,7 @@ def build(bld):
|
||||
defines += ['USE_NOVGUI_MOTD']
|
||||
else:
|
||||
excluded_files += ['MOTD.cpp']
|
||||
|
||||
|
||||
if bld.env.USE_NOVGUI_SCOREBOARD:
|
||||
defines += ['USE_NOVGUI_SCOREBOARD']
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user