Debian Codegraph @

debian/patches/link_python_all_absl.patch

raw
1 Description: link Python gRPC module with all needed Abseil libraries
2 Add the needed libraries to link with.
3 Author: Laszlo Boszormenyi (GCS) <[email protected]>
4 Bug-Debian: https://bugs.debian.org/1026937
5 Forwarded: no
6 Last-Update: 2026-04-22
7
8 ---
9
10 --- grpc-1.51.1.orig/setup.py
11 +++ grpc-1.51.1/setup.py
12 @@ -268,7 +268,7 @@ if EXTRA_ENV_LINK_ARGS is None:
13 ' -static -lshlwapi'.format(msvcr=msvcr))
14 if "linux" in sys.platform:
15 EXTRA_ENV_LINK_ARGS += ' -static-libgcc'
16 - EXTRA_ENV_LINK_ARGS += ' -labsl_str_format_internal -labsl_time'
17 + EXTRA_ENV_LINK_ARGS += ' -labsl_str_format_internal -labsl_time -labsl_hash -labsl_raw_hash_set -labsl_status -labsl_statusor -labsl_random_internal_randen_slow -labsl_random_internal_randen_hwaes_impl -labsl_random_internal_randen -labsl_random_internal_entropy_pool'
18
19 EXTRA_COMPILE_ARGS = shlex.split(EXTRA_ENV_COMPILE_ARGS)
20 EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_LINK_ARGS)