From 75e690791df607b8f0535e226f926e2481a1423f Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 17 Jun 2019 08:21:56 +0300 Subject: [PATCH] vgui_support: wscript: don't test if current platform supports VGUI if one of checks has failed already --- vgui_support/wscript | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vgui_support/wscript b/vgui_support/wscript index 3a610664..430c9fdb 100644 --- a/vgui_support/wscript +++ b/vgui_support/wscript @@ -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): 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): # 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')