Boost logo

Boost :

From: Boris Gubenko (Boris.Gubenko_at_[hidden])
Date: 2006-12-19 21:28:57


  In rule init-unix, python.jam defines system-specific libraries to link
  against. There are special cases for SOLARIS, OSF, ...etc, but not for
  HP-UX. As a result, HP-UX falls into default clause:

        extra-libs = pthread dl util

  I don't know which flavour of Unix has libutil library, but HP-UX does
  not. Because of this issue, python library tests py-run fail to link
  on HP-UX.

  Attached patch fixes this issue. I ran 1.34 regression tests and
  verified, that python tests that previously would fail to link now
  succeed. I also verified, that the patch does not cause any regression.
  Please, apply it to HEAD and RC_1_34_0 branch.

  Thanks,
    Boris

Index: python.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/python.jam,v
retrieving revision 1.47
diff -r1.47 python.jam
282a283,287
>
> case HPUX :
> {
> extra-libs = pthread rt ;
> }


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk