From: Michael Fladischer Date: Thu, 8 Oct 2015 08:33:15 -0700 Subject: Add configuration for GNU/Hurd when building. Last-Update: 2015-05-19 Forwarded: no Patch-Name: hurd.patch --- setup.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/setup.py b/setup.py index 937ed8b..8dede7e 100644 --- a/setup.py +++ b/setup.py @@ -123,6 +123,13 @@ elif sys.platform.startswith('openbsd'): HAVE_FD_TRANSFER=1, ) libraries = [] +elif sys.platform.startswith('gnu'): + macros = dict( # GNU/Hurd + HAVE_SEM_OPEN=0, # Not implemented + HAVE_SEM_TIMEDWAIT=0, + HAVE_FD_TRANSFER=1, + ) + libraries = [] else: # Linux and other unices macros = dict( HAVE_SEM_OPEN=1,