1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-01 13:24:25 +01:00

Exclude hookgen on non-x86 instead of non-Windows Dota.

This commit is contained in:
Nicholas Hastings 2017-04-22 21:25:27 -04:00
parent 9af2b18a7e
commit 7079862139

View File

@ -25,7 +25,7 @@ for sdk_name in MMS.sdks:
]
# Source2 hack. TODO: check this more deterministically, "are we doing an x64 build?"
if sdk.name != 'dota' or builder.target.platform == 'windows':
if builder.target.arch == 'x86':
binary.sources += ['sourcehook/sourcehook_hookmangen.cpp']
nodes = builder.Add(binary)
MMS.binaries += [nodes]