summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Sequeira <phsequei@gmail.com>2020-07-02 18:14:19 -0400
committerDudemanguy <random342@airmail.cc>2020-09-18 02:02:49 +0000
commitf4c39c74d4da11fc50fbb19210b5c0f3bfd7d332 (patch)
treea2b8a6121069c0980fa49c30a8b51c389ea86542
parent9806e9f82b64b6c5336cbaaa7c8ce0ef12a56c4f (diff)
downloadmpv-f4c39c74d4da11fc50fbb19210b5c0f3bfd7d332.tar.bz2
mpv-f4c39c74d4da11fc50fbb19210b5c0f3bfd7d332.tar.xz
build: sort dependencies (to make build deterministic)
Fixes #7855.
-rw-r--r--waftools/dependencies.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/waftools/dependencies.py b/waftools/dependencies.py
index 62e0c22b29..cbe4555cae 100644
--- a/waftools/dependencies.py
+++ b/waftools/dependencies.py
@@ -215,7 +215,7 @@ def env_fetch(tx):
return fn
def dependencies_use(ctx):
- return [inflector.storage_key(dep) for dep in ctx.env.satisfied_deps]
+ return [inflector.storage_key(dep) for dep in sorted(ctx.env.satisfied_deps)]
BuildContext.filtered_sources = filtered_sources
BuildContext.pick_first_matching_dep = pick_first_matching_dep