[Python-checkins] cpython (3.2): Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.
charles-francois.natali
python-checkins at python.org
Thu Apr 12 19:13:50 CEST 2012
http://hg.python.org/cpython/rev/807f331f973d
changeset: 76263:807f331f973d
branch: 3.2
parent: 76259:ed5788424c34
user: Charles-François Natali <neologix at free.fr>
date: Thu Apr 12 19:07:25 2012 +0200
summary:
Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.
files:
Misc/ACKS | 1 +
Misc/NEWS | 2 ++
setup.py | 4 ++++
3 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/Misc/ACKS b/Misc/ACKS
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -783,6 +783,7 @@
Mark Roddy
Kevin Rodgers
Giampaolo Rodola
+Adi Roiban
Mike Romberg
Armin Ronacher
Case Roole
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -131,6 +131,8 @@
Build
-----
+- Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.
+
- Issue #14437: Fix building the _io module under Cygwin.
- Issue #14387: Do not include accu.h from Python.h.
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -467,6 +467,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
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list