aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend/backends.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-04-13 23:59:48 +0300
committerGitHub <noreply@github.com>2017-04-13 23:59:48 +0300
commitb951e60f0683c9198d62004a5ef3d4c1cb9ba38f (patch)
treeaaf098f0a1367ce5ebe5e6a239f02e27b5df0269 /mesonbuild/backend/backends.py
parentf0a077e55b1792ea67e1df4d747476bdf5f40eec (diff)
parent2db11f1383e3d9c59f54f4a742bd44ad85dce226 (diff)
downloadmeson-b951e60f0683c9198d62004a5ef3d4c1cb9ba38f.zip
meson-b951e60f0683c9198d62004a5ef3d4c1cb9ba38f.tar.gz
meson-b951e60f0683c9198d62004a5ef3d4c1cb9ba38f.tar.bz2
Merge pull request #1548 from ssssam/sam/stable-ordering
Stable ordering of some commandlines generated by 'gnome' module
Diffstat (limited to 'mesonbuild/backend/backends.py')
-rw-r--r--mesonbuild/backend/backends.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/backend/backends.py b/mesonbuild/backend/backends.py
index e49793e..a77047b 100644
--- a/mesonbuild/backend/backends.py
+++ b/mesonbuild/backend/backends.py
@@ -23,6 +23,7 @@ import subprocess
from ..mesonlib import MesonException, get_meson_script
from ..mesonlib import get_compiler_for_source, classify_unity_sources
from ..compilers import CompilerArgs
+from collections import OrderedDict
class CleanTrees:
'''
@@ -574,7 +575,7 @@ class Backend:
return newargs
def get_build_by_default_targets(self):
- result = {}
+ result = OrderedDict()
# Get all build and custom targets that must be built by default
for name, t in self.build.get_targets().items():
if t.build_by_default or t.install or t.build_always: