From 67473cc6fbeb5c0b5d87e56ed79f3a74b1011e61 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Thu, 31 Mar 2022 12:32:06 -0400 Subject: [PATCH] Improve grpc-1.40.0-python-grpcio-use-system-abseil.patch --- grpc-1.37.0-python-grpcio-use-system-abseil.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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