Comment 4 for bug 832334

Revision history for this message
Julian Taylor (jtaylor) wrote :

subdirectories of /usr/lib are not searched by default (except for arch triplets like x86_64-linux-gnu).
you have add the path to the linker search paths (-L flag on command line, link_directories in cmake)
when the path is added the linker should prefer the shared libraries over the static one.