Browse Source

vgui_support: wscript: don't test if current platform supports VGUI if one of checks has failed already

pull/2/head
Alibek Omarov 6 years ago
parent
commit
75e690791d
  1. 3
      vgui_support/wscript

3
vgui_support/wscript

@ -32,6 +32,7 @@ def configure(conf): @@ -32,6 +32,7 @@ def configure(conf):
conf.end_msg('no')
Logs.warn('vgui is not supported on this CPU: ' + str(conf.env.DEST_CPU))
conf.env.NO_VGUI = True
return
else:
conf.end_msg('yes')
@ -40,6 +41,7 @@ def configure(conf): @@ -40,6 +41,7 @@ def configure(conf):
conf.end_msg('no')
Logs.warn('vgui is not supported on this OS: ' + str(conf.env.DEST_OS))
conf.env.NO_VGUI = True
return
else:
conf.end_msg('yes')
@ -49,6 +51,7 @@ def configure(conf): @@ -49,6 +51,7 @@ def configure(conf):
# we have ABI incompatibility ONLY on MinGW
Logs.warn('vgui_support can\'t be built with MinGW')
conf.env.NO_VGUI = True
return
else:
conf.end_msg('yes')

Loading…
Cancel
Save