Subject: Re: [boost] [build] adding a rquirement for Cygwin only?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2015-03-02 13:10:19
On 01/19/2015 09:34 AM, Peter Dimov wrote:
> Is it possible to add, for example, <threadapi>pthread to a project's
> requirements, but only for Cygwin?
> This works:
> but it also applies to MinGW.
> This only applies to MinGW:
> but Cygwin has no <flavor>.
> doesn't work.
> There are references to <target-os>cygwin in gcc.jam, but <target-os> is
> actually 'windows'.
The correct <target-os> for Cygwin should be cygwin, not
windows. The problem is that target-os is not auto-detected
and defaults to being the same as host-os.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk