From c947f385fe2f0da83d16ffa0d04c47d108ce19a7 Mon Sep 17 00:00:00 2001 From: Mattias Jansson Date: Mon, 12 Feb 2018 21:48:12 +0000 Subject: [PATCH] python3 compatibility --- build/ninja/toolchain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/ninja/toolchain.py b/build/ninja/toolchain.py index 1d7c6f74..593349a6 100644 --- a/build/ninja/toolchain.py +++ b/build/ninja/toolchain.py @@ -139,7 +139,7 @@ def initialize_default_archs(self): elif localarch == 'i686': self.archs = ['x86'] else: - self.archs = [localarch] + self.archs = [str(localarch)] elif self.target.is_macos(): self.archs = ['x86-64'] elif self.target.is_ios(): @@ -159,7 +159,7 @@ def initialize_configs(self, configs): self.initialize_default_configs() def initialize_default_configs(self): - self.configs = ['debug', 'release'] #, 'profile', 'deploy'] + self.configs = ['debug', 'release'] def initialize_toolchain(self): if self.android != None: