From 72f8ad9756c5a9d9c99ca39cb49bce0895737b31 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Mon, 29 May 2017 16:12:11 +0200 Subject: [PATCH] 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. --- bindings/python/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/setup.py b/bindings/python/setup.py index 8685da1d2..91e7a16df 100644 --- a/bindings/python/setup.py +++ b/bindings/python/setup.py @@ -127,7 +127,7 @@ else: ext = [Extension( 'libtorrent', - sources=source_list, + sources=sorted(source_list), language='c++', include_dirs=flags.include_dirs, library_dirs=flags.library_dirs,