From ac262fe82453c4e8dc47529338d157eb0b5ec0fb Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Sat, 15 Oct 2022 13:40:17 +0200 Subject: [PATCH] fix: No build_type in default_variables (#183) --- pylib/gyp/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pylib/gyp/__init__.py b/pylib/gyp/__init__.py index 2aa39d03..2d80d589 100755 --- a/pylib/gyp/__init__.py +++ b/pylib/gyp/__init__.py @@ -108,7 +108,9 @@ def Load( if default_variables["GENERATOR"] == "ninja": default_variables.setdefault( "PRODUCT_DIR_ABS", - os.path.join(output_dir, "out", default_variables["build_type"]), + os.path.join( + output_dir, "out", default_variables.get("build_type", "default") + ), ) else: default_variables.setdefault(