Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5739e10

Browse files
author
Charles-François Natali
committed
Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.
1 parent e7bade5 commit 5739e10

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,7 @@ Andy Robinson
783783
Mark Roddy
784784
Kevin Rodgers
785785
Giampaolo Rodola
786+
Adi Roiban
786787
Mike Romberg
787788
Armin Ronacher
788789
Case Roole

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ Extension Modules
131131
Build
132132
-----
133133

134+
- Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.
135+
134136
- Issue #14437: Fix building the _io module under Cygwin.
135137

136138
- Issue #14387: Do not include accu.h from Python.h.

setup.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,10 @@ def detect_modules(self):
467467
if platform in ['osf1', 'unixware7', 'openunix8']:
468468
lib_dirs += ['/usr/ccs/lib']
469469

470+
# HP-UX11iv3 keeps files in lib/hpux folders.
471+
if platform == 'hp-ux11':
472+
lib_dirs += ['/usr/lib/hpux64', '/usr/lib/hpux32']
473+
470474
if platform == 'darwin':
471475
# This should work on any unixy platform ;-)
472476
# If the user has bothered specifying additional -I and -L flags

0 commit comments

Comments
 (0)