cpython: 9481e801ae7c (original) (raw)
Mercurial > cpython
changeset 76264:9481e801ae7c
Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. [#14557]
Charles-François Natali neologix@free.fr | |
---|---|
date | Thu, 12 Apr 2012 19:09:00 +0200 |
parents | 0f114b855824(current diff)807f331f973d(diff) |
children | 37c500ee609a |
files | Misc/ACKS Misc/NEWS setup.py |
diffstat | 3 files changed, 7 insertions(+), 0 deletions(-)[+] [-] Misc/ACKS 1 Misc/NEWS 2 setup.py 4 |
line wrap: on
line diff
--- a/Misc/ACKS +++ b/Misc/ACKS @@ -862,6 +862,7 @@ Mark Roddy Kevin Rodgers Giampaolo Rodola Elson Rodriguez +Adi Roiban Luis Rojas Mike Romberg Armin Ronacher
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -264,6 +264,8 @@ Library Build ----- +- Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. +
- Issue #14387: Do not include accu.h from Python.h.
- Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
--- a/setup.py +++ b/setup.py @@ -464,6 +464,10 @@ class PyBuildExt(build_ext): if platform in ['osf1', 'unixware7', 'openunix8']: lib_dirs += ['/usr/ccs/lib']
# HP-UX11iv3 keeps files in lib/hpux folders.[](#l3.7)
if platform == 'hp-ux11':[](#l3.8)
lib_dirs += ['/usr/lib/hpux64', '/usr/lib/hpux32'][](#l3.9)
+ if platform == 'darwin': # This should work on any unixy platform ;-) # If the user has bothered specifying additional -I and -L flags