|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-10-04 14:39:34
Hi,
at the moment it's not easy to use SHELL with pkg-config, like this:
LIBXML_INCLUDES = [ SHELL "pkg-config --cflags libxml-2.0" ] ;
because pkg-config outputs a trailing newline, and then
<cflags>$(LIBXML_INCLUDES)
apparently does not work. Unix shell, when it process command substitution,
e.g.
`pkg-config --cflags libxml-2.0`
removes trailing newline. I wonder if we should do the same in SHELL?
- 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