From: Ian Fasel (ianfasel_at_[hidden])
Date: 2004-09-15 19:48:19
Many thanks, Daniel, Vladimir, and Volodya,
That worked on linux. However it failed on darwin,
because the darwin linker seems to be sensitive about
the order of arguments. So I had to hack my gcc.jam
and darwin.jam (those are the only two platforms I
test on right now) to include a new feature, which I
called <extralibs>, which tacks them onto the end of
the argument list for the call to gcc (instead of the
beginning, which is what this does). So now I can do
exe thingy : main.cc
: <cflags>"`Magick++-config --cppflags`"
<extralibs>"`Magick++-config --libs` `Magick++-config
--- Vladimir Prus <ghost_at_[hidden]> wrote:
> Hi Daniel,
> > This isn't portable, but I'm using the following
> with boost build v2:
> > alias gtk+-2.0 : : : :
> > <cflags>"`pkg-config --cflags gtk+-2.0`"
> > <linkflags>"`pkg-config --libs gtk+-2.0`"
> > ;
> That's really cool. I think I need to get this into
Do you Yahoo!?
Declare Yourself - Register online to vote today!
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