1 Revert of commit 1af23c4de2c7d58c06171d70b37794b5c860d5f4.
2 --- b/Modules/Platform/Darwin.cmake
3 +++ a/Modules/Platform/Darwin.cmake
5 set(CMAKE_SHARED_MODULE_SUFFIX ".so")
6 set(CMAKE_MODULE_EXISTS 1)
8 +set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
9 -if(NOT "${_CURRENT_OSX_VERSION}" VERSION_LESS "10.5")
10 - set(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG "-Wl,-rpath,")
13 foreach(lang C CXX OBJC OBJCXX)
14 set(CMAKE_${lang}_OSX_COMPATIBILITY_VERSION_FLAG "-compatibility_version ")