mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2024-11-28 10:24:20 +01:00
Exclude hookgen on non-x86 instead of non-Windows Dota.
This commit is contained in:
parent
9af2b18a7e
commit
7079862139
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user