Merge pull request #107 from x6herbius/upstream-master

Build: Swapped Win32 check for MSVC check
This commit is contained in:
Alibek Omarov 2019-10-31 17:13:56 +03:00 committed by GitHub
commit 576e6befba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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")