(original) (raw)
changeset: 76265:cc2e3c6d2669 branch: 2.7 parent: 76261:d60ef141e090 user: Charles-François Natali neologix@free.fr date: Thu Apr 12 19:11:54 2012 +0200 files: Misc/ACKS Misc/NEWS setup.py description: Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. diff -r d60ef141e090 -r cc2e3c6d2669 Misc/ACKS --- a/Misc/ACKS Wed Apr 11 20:38:45 2012 -0400 +++ b/Misc/ACKS Thu Apr 12 19:11:54 2012 +0200 @@ -717,6 +717,7 @@ Andy Robinson Kevin Rodgers Giampaolo Rodola +Adi Roiban Mike Romberg Armin Ronacher Case Roole diff -r d60ef141e090 -r cc2e3c6d2669 Misc/NEWS --- a/Misc/NEWS Wed Apr 11 20:38:45 2012 -0400 +++ b/Misc/NEWS Thu Apr 12 19:11:54 2012 +0200 @@ -94,6 +94,8 @@ Build ----- +- Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban. + - Issue #14437: Fix building the _io module under Cygwin. diff -r d60ef141e090 -r cc2e3c6d2669 setup.py --- a/setup.py Wed Apr 11 20:38:45 2012 -0400 +++ b/setup.py Thu Apr 12 19:11:54 2012 +0200 @@ -451,6 +451,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 /neologix@free.fr