Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.

This commit is contained in:
Charles-François Natali 2012-04-12 19:09:00 +02:00
commit 515ea9bd65
3 changed files with 7 additions and 0 deletions

View File

@ -862,6 +862,7 @@ Mark Roddy
Kevin Rodgers
Giampaolo Rodola
Elson Rodriguez
Adi Roiban
Luis Rojas
Mike Romberg
Armin Ronacher

View File

@ -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.

View File

@ -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.
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