forked from premiere/premiere-libtorrent
sort input files
when building packages (e.g. for openSUSE Linux) (random) filesystem order of input files influences ordering of functions in the output, thus without the patch, builds (in disposable VMs) would differ. See https://reproducible-builds.org/ for why this matters.
This commit is contained in:
parent
67a530f3ab
commit
72f8ad9756
|
@ -127,7 +127,7 @@ else:
|
||||||
|
|
||||||
ext = [Extension(
|
ext = [Extension(
|
||||||
'libtorrent',
|
'libtorrent',
|
||||||
sources=source_list,
|
sources=sorted(source_list),
|
||||||
language='c++',
|
language='c++',
|
||||||
include_dirs=flags.include_dirs,
|
include_dirs=flags.include_dirs,
|
||||||
library_dirs=flags.library_dirs,
|
library_dirs=flags.library_dirs,
|
||||||
|
|
Loading…
Reference in New Issue