mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-31 04:01:56 -07:00
meson: Sort input file list (#3550)
so that hyprland builds in a reproducible way in spite of non-deterministic filesystem readdir order. See https://reproducible-builds.org/ for why this is good. This patch was done while working on reproducible builds for openSUSE. Co-authored-by: Bernhard M. Wiedemann <bernhard+gitcommit lsmod.de>
This commit is contained in:
committed by
GitHub
parent
0cf3d5b39a
commit
5dc7161b1d
@@ -1,4 +1,4 @@
|
||||
globber = run_command('find', '.', '-name', '*.cpp', check: true)
|
||||
globber = run_command('sh', '-c', 'find . -name "*.cpp" | sort', check: true)
|
||||
src = globber.stdout().strip().split('\n')
|
||||
|
||||
executable('Hyprland', src,
|
||||
|
Reference in New Issue
Block a user