$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-build] pthreads & boost build
From: Bruno Santos (bsantos_at_[hidden])
Date: 2011-07-01 12:55:07
Sex, 2011-07-01 Ã s 12:11 +0200, Daniel escreveu:
> Hi,
>
> I'm using the boost build tool for a quite while now, but this time I
> cannot help myself and even google does not seem to find the right
> answer. I want to link against the pthread lib. Using gcc I would do
> something like: g++ someSource.cpp -pthread.
>
> How to do this using bjam??
>
In the requirements pass
<linkflags>-lpthread
or conditionally
<target-os>linux:<linkflags>-lpthread