Dear experts,
in recent versions of ld-linker I have to use this flags for static linking:
target_link_libraries(${EXECUTABLE} -Wl,--no-export-dynamic)
however, older versions, like "GNU ld version 2.17.50.0.6-20.el5 20061020" does
not know the flag "--no-export-dynamic".
Would it be please possible to get version of the linker and determine
accordingly which flags to use ?
Best, Miro
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake