Mercurial > cpython-lru_cache-weakref
diff setup.py @ 76263:807f331f973d 3.2
Issue #14557: Fix extensions build on HP-UX. Patch by Adi Roiban.
| author | Charles-François Natali <neologix@free.fr> |
|---|---|
| date | Thu, 12 Apr 2012 19:07:25 +0200 |
| parents | 1c77eadba9dc |
| children | e2be1f43beed 9481e801ae7c |
line wrap: on
line diff
--- a/setup.py Wed Apr 11 20:13:25 2012 -0400 +++ b/setup.py Thu Apr 12 19:07:25 2012 +0200 @@ -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
