Build: Swapped Win32 check for MSVC check

The linker flag is only relevant to MSVC.
This commit is contained in:
Jonathan Poncelet 2019-10-31 13:15:44 +00:00
parent 251a38755a
commit a8669459b9
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ def options(opt):
return
def configure(conf):
if conf.env.DEST_OS == 'win32':
if conf.env.COMPILER_CC == 'msvc':
# hl.def removes MSVC function name decoration from GiveFnptrsToDll on Windows.
# Without this, the lookup for this function fails.
hlDefNode = conf.path.find_resource("./hl.def")