(original) (raw)
changeset: 76264:9481e801ae7c parent: 76262:0f114b855824 parent: 76263:807f331f973d user: Charles-François Natali neologix@free.fr date: Thu Apr 12 19:09:00 2012 +0200 files: Misc/ACKS Misc/NEWS setup.py description: Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. diff -r 0f114b855824 -r 9481e801ae7c Misc/ACKS --- a/Misc/ACKS Thu Apr 12 19:28:07 2012 +0800 +++ b/Misc/ACKS Thu Apr 12 19:09:00 2012 +0200 @@ -862,6 +862,7 @@ Kevin Rodgers Giampaolo Rodola Elson Rodriguez +Adi Roiban Luis Rojas Mike Romberg Armin Ronacher diff -r 0f114b855824 -r 9481e801ae7c Misc/NEWS --- a/Misc/NEWS Thu Apr 12 19:28:07 2012 +0800 +++ b/Misc/NEWS Thu Apr 12 19:09:00 2012 +0200 @@ -264,6 +264,8 @@ 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. diff -r 0f114b855824 -r 9481e801ae7c setup.py --- a/setup.py Thu Apr 12 19:28:07 2012 +0800 +++ b/setup.py Thu Apr 12 19:09:00 2012 +0200 @@ -464,6 +464,10 @@ if platform in ['osf1', 'unixware7', 'openunix8']: lib_dirs += ['/usr/ccs/lib'] + # HP-UX11iv3 keeps files in lib/hpux folders. + if platform == 'hp-ux11': + lib_dirs += ['/usr/lib/hpux64', '/usr/lib/hpux32'] + if platform == 'darwin': # This should work on any unixy platform ;-) # If the user has bothered specifying additional -I and -L flags /neologix@free.fr