summaryrefslogtreecommitdiff
path: root/gir
diff options
context:
space:
mode:
Diffstat (limited to 'gir')
-rw-r--r--gir/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/gir/meson.build b/gir/meson.build
index e1d0119f..52838f23 100644
--- a/gir/meson.build
+++ b/gir/meson.build
@@ -62,7 +62,10 @@ endif
globber = '''
from glob import glob
-for f in glob('@0@'):
+# Sort the glob for stable results. Also ensures that gmarshal.h is not
+# #include-ed by scannerparser.y first because it does not include glib.h
+# itself, which leaves several defines unresolved.
+for f in sorted(glob('@0@')):
print(f)
'''