|
Boost-Build : |
Subject: [Boost-build] How to link compiled library paths?
From: Shridhar Daithankar (ghodechhap_at_[hidden])
Date: 2012-04-16 22:47:57
Hello,
I am compiling few libraries using boost build on linux. There are some tests
dveloped for each of these libraries. These tests are compiled as libraries.
A test suite, loads all these libraries using dlopen and runs the tests.
How can I specify library paths in the build directory as dll-path(similar to
what exe linker command does with -rpath), so that I can dlopen the test
library which links against the implementation library?
As a workaround, I could convert my text to exe with a dummy main and dlopen
it but I would prefer to use them as a library.
Any way to obtain the current filesystem path of a library?
Thanks.
-- Regards Shridhar
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