From a8669459b9ed88a09c99f0a4ba4fc08ed8a5208d Mon Sep 17 00:00:00 2001 From: Jonathan Poncelet Date: Thu, 31 Oct 2019 13:15:44 +0000 Subject: [PATCH] Build: Swapped Win32 check for MSVC check The linker flag is only relevant to MSVC. --- dlls/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/wscript b/dlls/wscript index 7d21da55..250761e1 100644 --- a/dlls/wscript +++ b/dlls/wscript @@ -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")