mirror of https://github.com/FWGS/hlsdk-xash3d
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_NOVGUI_SCOREBOARD = conf.options.USE_NOVGUI_SCOREBOARD
|
||||||
conf.env.USE_VOICEMGR = conf.options.USE_VOICEMGR
|
conf.env.USE_VOICEMGR = conf.options.USE_VOICEMGR
|
||||||
conf.env.GOLDSOURCE_SUPPORT = conf.options.GOLDSOURCE_SUPPORT
|
conf.env.GOLDSOURCE_SUPPORT = conf.options.GOLDSOURCE_SUPPORT
|
||||||
|
|
||||||
|
if conf.env.GOLDSOURCE_SUPPORT:
|
||||||
|
conf.check_cc(lib='dl')
|
||||||
|
|
||||||
if conf.env.USE_VGUI:
|
if conf.env.USE_VGUI:
|
||||||
conf.load('vgui')
|
conf.load('vgui')
|
||||||
if not conf.check_vgui():
|
if not conf.check_vgui():
|
||||||
|
|
2
wscript
2
wscript
|
@ -175,8 +175,6 @@ def configure(conf):
|
||||||
for i in a:
|
for i in a:
|
||||||
conf.check_cc(lib = i)
|
conf.check_cc(lib = i)
|
||||||
else:
|
else:
|
||||||
if conf.env.GOLDSOURCE_SUPPORT:
|
|
||||||
conf.check_cc(lib='dl')
|
|
||||||
conf.check_cc(lib='m')
|
conf.check_cc(lib='m')
|
||||||
|
|
||||||
# check if we can use C99 tgmath
|
# check if we can use C99 tgmath
|
||||||
|
|
Loading…
Reference in New Issue