File: link_python_all_absl.patch

package info (click to toggle)
grpc 1.59.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 154,304 kB
  • sloc: cpp: 1,130,928; python: 91,228; ansic: 44,612; objc: 12,369; ruby: 11,884; sh: 8,043; php: 7,588; makefile: 3,927; xml: 3,620; cs: 2,160; java: 465; pascal: 286; awk: 132; javascript: 89
file content (20 lines) | stat: -rw-r--r-- 1,002 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: link Python gRPC module with all needed Abseil libraries
 Add the needed libraries to link with.
Author: Laszlo Boszormenyi (GCS) <gcs@debian.org>
Bug-Debian: https://bugs.debian.org/1026937
Forwarded: no
Last-Update: 2024-08-11

---

--- a/setup.py
+++ b/setup.py
@@ -292,7 +292,7 @@ if EXTRA_ENV_LINK_ARGS is None:
             EXTRA_ENV_LINK_ARGS += " -latomic"
     if "linux" in sys.platform:
         EXTRA_ENV_LINK_ARGS += " -static-libgcc"
-        EXTRA_ENV_LINK_ARGS += ' -labsl_str_format_internal -labsl_time -labsl_bad_optional_access'
+        EXTRA_ENV_LINK_ARGS += ' -labsl_str_format_internal -labsl_time -labsl_bad_optional_access -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_pool_urbg -labsl_bad_variant_access'
 
 EXTRA_COMPILE_ARGS = shlex.split(EXTRA_ENV_COMPILE_ARGS)
 EXTRA_LINK_ARGS = shlex.split(EXTRA_ENV_LINK_ARGS)