diff -Nuar libdnet-1.12/python/setup.py.in libdnet-1.12.new/python/setup.py.in --- libdnet-1.12/python/setup.py.in 2006-01-18 23:50:29.000000000 -0500 +++ libdnet-1.12.new/python/setup.py.in 2019-04-11 07:38:27.901000000 -0400 @@ -20,7 +20,7 @@ # XXX - can't build on Cygwin+MinGW yet. #if sys.platform == 'cygwin': # dnet_extargs.append('-mno-cygwin') - dnet_extobj.extend(glob.glob('@top_builddir@/src/.libs/*.o')) + dnet_extobj.extend(sorted(glob.glob('@top_builddir@/src/.libs/*.o'))) dnet = Extension('dnet', dnet_srcs,