From 67473cc6fbeb5c0b5d87e56ed79f3a74b1011e61 Mon Sep 17 00:00:00 2001 From: Benjamin A. Beasley Date: Aug 05 2022 01:20:14 +0000 Subject: Improve grpc-1.40.0-python-grpcio-use-system-abseil.patch --- diff --git a/grpc-1.37.0-python-grpcio-use-system-abseil.patch b/grpc-1.37.0-python-grpcio-use-system-abseil.patch index fef50aa..faed4b4 100644 --- a/grpc-1.37.0-python-grpcio-use-system-abseil.patch +++ b/grpc-1.37.0-python-grpcio-use-system-abseil.patch @@ -16,7 +16,7 @@ diff -Naur grpc-1.37.0-original/setup.py grpc-1.37.0/setup.py +# Export this variable to use the system installation of abseil. You need to +# have the header files installed (in /usr/include/absl) and during +# runtime, the shared library must be installed -+BUILD_WITH_SYSTEM_ABSL = os.environ.get('GRPC_PYTHON_BUILD_SYSTEM_ABSL', False) ++BUILD_WITH_SYSTEM_ABSL = os.environ.get('GRPC_PYTHON_BUILD_SYSTEM_ABSL', '0') in ('1', 'True') + # Export this variable to force building the python extension with a statically linked libstdc++. # At least on linux, this is normally not needed as we can build manylinux-compatible wheels on linux just fine