Hi, The attached patch allows for a toolchain or command line override of the CMAKE_PLATFORM_REQUIRED_RUNTIME_PATH that is only used in AIX.cmake and HP-UX.cmake. The specific case this patch is for, is compiling third party code on AIX for deployment in an environment in which we maintain versioned shared libraries. In its current state, cmake will append -Wl,-blibpath:/usr/lib:/lib to the end of the link line. Based on the interface of the xlC linker, the last entry replaces prior instances. In order to allow for customization of the libpath without customizing a third party's CMakeLists.txt file, we are proposing that the runtime variable only be set if the variable is not set.
Regards, Matthew Hanna
0001-PATCH-Allow-for-toolchain-override-of-AIX-HP-libpath.patch
Description: Binary data
-- 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-developers