mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
vgui_support: wscript: disable build on mingw
This commit is contained in:
@@ -45,6 +45,15 @@ def configure(conf):
|
||||
else:
|
||||
conf.end_msg('yes')
|
||||
|
||||
conf.start_msg('Does this toolchain able to link to VGUI?')
|
||||
if conf.env.DEST_OS == 'win32' and conf.env.COMPILER_CXX == 'g++':
|
||||
conf.end_msg('no')
|
||||
# we have ABI incompatibility ONLY on MinGW
|
||||
Logs.warn('vgui_support can\'t be built with MinGW')
|
||||
conf.env.NO_VGUI = True
|
||||
else:
|
||||
conf.end_msg('yes')
|
||||
|
||||
if conf.options.VGUI_DEV:
|
||||
conf.start_msg('Configuring VGUI by provided path')
|
||||
conf.env.VGUI_DEV = conf.options.VGUI_DEV
|
||||
|
||||
Reference in New Issue
Block a user