Skip to content

Commit 5b7059f

Browse files
committed
fix: Ensure Consistent Order of build_files in WriteAutoRegenerationRule
1 parent e97fd25 commit 5b7059f

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
@@ -2381,7 +2381,7 @@ def WriteAutoRegenerationRule(params, root_makefile, makefile_name, build_files)
23812381
% {
23822382
"makefile_name": makefile_name,
23832383
"deps": replace_sep(
2384-
" ".join(SourceifyAndQuoteSpaces(bf) for bf in build_files)
2384+
" ".join(sorted(SourceifyAndQuoteSpaces(bf) for bf in build_files))
23852385
),
23862386
"cmd": replace_sep(gyp.common.EncodePOSIXShellList(
23872387
[gyp_binary, "-fmake"] + gyp.RegenerateFlags(options) + build_files_args

0 commit comments

Comments
 (0)