1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Recognize that Hurd support pthreads too.
Author: Petter Reinholdtsen <pere@hungry.com>
Bug-Debian: https://bugs.debian.org/1103789
Forwarded: no
Last-Update: 2025-04-21
---
Index: python-grpc-tools-salsa/setup.py
===================================================================
--- python-grpc-tools-salsa.orig/setup.py 2025-04-21 16:39:49.137706024 +0200
+++ python-grpc-tools-salsa/setup.py 2025-04-21 16:41:03.618588970 +0200
@@ -113,7 +113,7 @@
DEFINE_MACROS += (('WIN32_LEAN_AND_MEAN', 1),)
if '64bit' in platform.architecture()[0]:
DEFINE_MACROS += (('MS_WIN64', 1),)
-elif "linux" in sys.platform or "darwin" in sys.platform:
+elif "linux" in sys.platform or "gnu0" in sys.platform or "darwin" in sys.platform:
DEFINE_MACROS += (('HAVE_PTHREAD', 1),)
# By default, Python3 distutils enforces compatibility of
|