summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS2
-rw-r--r--setup.py4
3 files changed, 7 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index cab01d423d..2f1604afdc 100644
--- 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
diff --git a/Misc/NEWS b/Misc/NEWS
index f7440eea46..ea5448426b 100644
--- 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.
diff --git a/setup.py b/setup.py
index fb8c4b604d..8c6131c6ab 100644
--- 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.
+ 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