Skip to content

Commit

Permalink
Add a Darwin build option
Browse files Browse the repository at this point in the history
This is untested by me, reported (a long while ago) by Murali Vadivelu
<mkv22@cam.ac.uk>.
  • Loading branch information
iustin committed Oct 8, 2007
1 parent 8bc0e84 commit 06dd591
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
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)
Expand Down

0 comments on commit 06dd591

Please sign in to comment.