]> granicus.if.org Git - python/commitdiff
Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.
authorCharles-François Natali <neologix@free.fr>
Thu, 12 Apr 2012 17:11:54 +0000 (19:11 +0200)
committerCharles-François Natali <neologix@free.fr>
Thu, 12 Apr 2012 17:11:54 +0000 (19:11 +0200)
Misc/ACKS
Misc/NEWS
setup.py

index 73afc97ec9fd7cd6ec05d6016c5e9e0184148c25..e36e626ca3124fff7ee4909508b6a6b0d57366e1 100644 (file)
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -717,6 +717,7 @@ Jim Robinson
 Andy Robinson
 Kevin Rodgers
 Giampaolo Rodola
+Adi Roiban
 Mike Romberg
 Armin Ronacher
 Case Roole
index f4da7e7785c2ab1fe718ff347b491a8863106f85..8aa7315b96804d6670f84daf158bc2cec59f17a5 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -94,6 +94,8 @@ Library
 Build
 -----
 
+- Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.
+
 - Issue #14437: Fix building the _io module under Cygwin.
 
 
index 2c1473c8bb5540b6e8b124439d244fc100de0de2..064bbc0f08b0fb20bca86d91709cf8991dd636fd 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -451,6 +451,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