From 014f89b0c054bd097a44e66277e37a1365af9b6a 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.40.0-python-grpcio-use-system-abseil.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grpc-1.40.0-python-grpcio-use-system-abseil.patch b/grpc-1.40.0-python-grpcio-use-system-abseil.patch index 31ecb52..bf3d5f3 100644 --- a/grpc-1.40.0-python-grpcio-use-system-abseil.patch +++ b/grpc-1.40.0-python-grpcio-use-system-abseil.patch @@ -16,7 +16,7 @@ diff -Naur grpc-1.40.0-original/setup.py grpc-1.40.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