mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-09-02 17:22:16 +00:00
Build: Swapped Win32 check for MSVC check
The linker flag is only relevant to MSVC.
This commit is contained in:
parent
251a38755a
commit
a8669459b9
@ -10,7 +10,7 @@ def options(opt):
|
|||||||
return
|
return
|
||||||
|
|
||||||
def configure(conf):
|
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.
|
# hl.def removes MSVC function name decoration from GiveFnptrsToDll on Windows.
|
||||||
# Without this, the lookup for this function fails.
|
# Without this, the lookup for this function fails.
|
||||||
hlDefNode = conf.path.find_resource("./hl.def")
|
hlDefNode = conf.path.find_resource("./hl.def")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user