From 7079862139334a6c1b0f2f0894af1b4d1783519b Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Sat, 22 Apr 2017 21:25:27 -0400 Subject: [PATCH] Exclude hookgen on non-x86 instead of non-Windows Dota. --- core/AMBuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/AMBuilder b/core/AMBuilder index e0327af..83edb80 100644 --- a/core/AMBuilder +++ b/core/AMBuilder @@ -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]