From 06dd5917eebd981feb307224eec12780d9a5850d Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Mon, 8 Oct 2007 06:47:01 +0200 Subject: [PATCH] Add a Darwin build option This is untested by me, reported (a long while ago) by Murali Vadivelu . --- setup.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup.py b/setup.py index 95231f8..b236e29 100755 --- a/setup.py +++ b/setup.py @@ -17,6 +17,8 @@ elif u_sysname == "GNU/kFreeBSD": libs.append("acl") elif u_sysname == "FreeBSD": macros.append(("HAVE_FREEBSD", None)) +elif u_sysname == "Darwin": + libs.append("pthread") else: raise ValueError("I don't know your system '%s'." " Please contact the author" % u_sysname) -- 2.39.2