[issue14557] HP-UX libraries not included

Charles-François Natali report at bugs.python.org
Thu Apr 12 13:28:04 CEST 2012


Charles-François Natali <neologix at free.fr> added the comment:

Hello Adi,

Thanks for your patch.

Just a detail:

"""
         if platform == 'hp-ux11':
             lib_dirs += ['/usr/lib/hpux64', '/usr/lib/hpux32']
"""

Wouldn't it be more robust as:
"""
         if platform.startswith('hp-ux'):
             lib_dirs += ['/usr/lib/hpux64', '/usr/lib/hpux32']
"""

So that it works with older and (potenttially) future HP-UX releases?

----------
nosy: +neologix
stage:  -> patch review

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14557>
_______________________________________


More information about the Python-bugs-list mailing list