On 07/23/17 01:09, Peter Dimov via Boost wrote:
Roger Leigh wrote:
The boost_system dependency, for example, is required when linking to filesystem dynamically on Linux and BSD because the filesystem headers include the system headers, which forces system it to be explicitly linked even if you don't use it directly.
Yes, you're right, these dependencies should be public. (And the private ones weren't being added at all.) Fixed.
Now that it's fixed,
C:\Projects\boost-git>pkg-config --libs --static boost_log Æ A: out of memory This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
but, well. :-)
It did succeed for me, but it took about 4.5GB and about 10 seconds to complete. :) BTW, there are two libraries in Boost.Log: libboost_log.so and libboost_log_setup.so (the latter is not mentioned in .pc). They have different dependencies, so if there were two separate .pc files, the list of dependencies could be shorter. But I suspect extracting that information from Boost.Build won't be easy.