Boost logo

Boost-Build :

From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2005-05-11 17:47:38


On 5/10/05, Rene Rivera <grafik.list_at_[hidden]> wrote:

> Caleb Epstein wrote:
> > I committed this one-liner. I don't think it'll harm any other
> > platform's results.
>
> I don't think it will harm, either :-)

So much for our thinking so: http://tinyurl.com/abvb9

I think I understand what the problem is now. I'm using a dynamic
libpython in my tests on Linux, which pulls in the libutil dependency
automatically. In the configuration from the tinyurl above, a static
libpython is used, which means that libutil must be pulled in
explicitly.

Here's a change which adds back libutil for all UNIX platforms which
are not MACOSX or SUNOS:

Starting around line 66:

else if $(UNIX)
{
if $(OS) = MACOSX
{
PYTHON_EMBEDDED_LIBRARY = ;
}
else if $(OS) = SOLARIS
{
PYTHON_EMBEDDED_LIBRARY = python$(PYTHON_VERSION) dl ;
}
else
{
PYTHON_EMBEDDED_LIBRARY = python$(PYTHON_VERSION) dl util;
}
}

Perhaps this might be expressed more concisely with something like +=,
but I'm a bit unfamiliar with my Jamfile syntax. I'm getting ssh
protocol errors from Sourceforge right now, so I can't check in this
change.

-- 
Caleb Epstein
caleb dot epstein at gmail dot com
 

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