Skip to content

Commit 8ace701

Browse files
authored
fix(make): only generate makefile for multiple toolsets if requested
It's already like this in the msvs and ninja generators. Refs: nodejs/node#40934
1 parent 33ff306 commit 8ace701

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pylib/gyp/generator/make.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
}
5151

5252
# Make supports multiple toolsets
53-
generator_supports_multiple_toolsets = True
53+
generator_supports_multiple_toolsets = gyp.common.CrossCompileRequested()
5454

5555
# Request sorted dependencies in the order from dependents to dependencies.
5656
generator_wants_sorted_dependencies = False

0 commit comments

Comments
 (0)