On 01/29/2015 10:53 AM, Nils Gladitz wrote: > Perhaps failing to read a SONAME should imply that a SONAME is available > (in context of cmComputeLinkInformation). > > Might be easier/more reliable than guessing if the given file is > actually a linker script?
We don't actually know anything about the binary format so failing to parse ELF cannot assume anything. That's why it falls back to the symlink checks and such. Ideally we should detect linker scripts and always use full paths to them to make sure the proper script is used, and then trust it to know what it is doing. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake
