Boost logo

Boost-Build :

Subject: Re: [Boost-build] python.jam FreeBSD small patch
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-25 08:58:44


On Friday 24 October 2008 22:09:26 Alexander Sack wrote:
> --- python.jam.0 Fri Oct 24 14:04:36 2008
> +++ python.jam Fri Oct 24 14:05:05 2008
> @@ -652,6 +652,8 @@
> case hpux : return <library>rt ;
>
> case aix : return <library>pthread <library>dl ;
> +
> + case *bsd : return <library>pthread <toolset>gcc:<library>util ;
>
> case * : return <library>pthread <library>dl
> <toolset>gcc:<library>util ;
> }
>
>
> Was wondering if this simple patch could be committed as well. There
> is no libdl on FreeBSD and this prevents the error message during
> build of libboost_python etc. This was actually part of the
> Boost-1.34 FreeBSD official port which I rediscovered on 1.36.0.

This is already fixed in SVN:

        r47935 | vladimir_prus | 2008-08-01 21:26:32 +0400 (Fri, 01 Aug 2008) | 2 lines

        Do not link to -ldl on *BSD.

I suggest you work from SVN trunk version, since it has fixes relatively to 1.36.

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk