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.
Cherry-Picked-From commit 72f8ad9756
This commit is contained in:
parent
7e653b9669
commit
7e106b2660
|
@ -124,7 +124,7 @@ else:
|
||||||
os.environ['CFLAGS'] = os.environ['CXXFLAGS']
|
os.environ['CFLAGS'] = os.environ['CXXFLAGS']
|
||||||
|
|
||||||
ext = [Extension('libtorrent',
|
ext = [Extension('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