Boost logo

Boost-Build :

Subject: [Boost-build] Adding an -lboost_system works, but why?
From: Kuhl, Brian (brian.kuhl_at_[hidden])
Date: 2016-04-20 18:31:15


In libs/random/test/Jamfile.v2 I added an explicit library reference to get the link to succeed, but I'm not sure why it was necessary for 'random' and not for other libraries.

run test_random_device.cpp /boost//random : : : <link>shared
                                             <target-os>vxworks:<linkflags>-lboost_system
                                             : test_random_device_dll ;

I'm sure this is NOT the best solution anyhow, so I curious what a more correct approach would be?

Thanks

Brian Kuhl
Manager - Information Development
Wind River



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