Skip to content

Commit

Permalink
fix: No build_type in default_variables (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Oct 15, 2022
1 parent 4d28b15 commit ac262fe
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pylib/gyp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ac262fe

Please sign in to comment.