build: Generate gdk.gresource.xml in sorted order
The order in which the resources get embedded matters for reproducible builds. In the Meson build system, gen-gdk-gresources-xml already sorts the list, but in the Autotools build system they were previously taken in readdir() order. Signed-off-by: Simon McVittie <smcv@debian.org>
This commit is contained in:
parent
cdd4349bfe
commit
b35cd705a7
@ -471,7 +471,7 @@ stamp-gc-h: $(top_builddir)/config.status
|
||||
# Resources
|
||||
#
|
||||
|
||||
glsl_sources := $(wildcard $(srcdir)/resources/glsl/*.glsl)
|
||||
glsl_sources := $(sort $(wildcard $(srcdir)/resources/glsl/*.glsl))
|
||||
|
||||
gdk.gresource.xml: Makefile.am
|
||||
$(AM_V_GEN) echo "<?xml version='1.0' encoding='UTF-8'?>" > $@; \
|
||||
|
Loading…
Reference in New Issue
Block a user