[CMake] undesirable Bdynamic/Bstatic link flags

Clinton Stimpson clinton at elemtech.com
Thu May 8 16:30:58 EDT 2014


I have a machine I'm trying to compile some code on, and CMake is apparently 
being smart and is inserting -Wl,-Bdynamic around some of the libraries from 
the CMAKE_CXX_IMPLICIT_LINK_LIBRARIES variable.

Is there a way to stop that?  Or is there a reason why it is doing that?

Thanks,
Clint


More information about the CMake mailing list