diff --git a/setup.py b/setup.py index 2ce5fef4223..7c034fe3eba 100644 --- a/setup.py +++ b/setup.py @@ -361,7 +361,8 @@ if BUILD_WITH_SYSTEM_RE2: EXTENSION_LIBRARIES += ("re2",) if BUILD_WITH_SYSTEM_ABSL: EXTENSION_LIBRARIES += tuple( - lib.stem[3:] for lib in pathlib.Path("/usr").glob("lib*/libabsl_*.so") + lib.stem[3:] + for lib in sorted(pathlib.Path("/usr").glob("lib*/libabsl_*.so")) ) DEFINE_MACROS = (("_WIN32_WINNT", 0x600),)