diff options
Diffstat (limited to 'dev-build/cmake/files/cmake-3.16.0_rc4-darwin-bundle.patch')
-rw-r--r-- | dev-build/cmake/files/cmake-3.16.0_rc4-darwin-bundle.patch | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/dev-build/cmake/files/cmake-3.16.0_rc4-darwin-bundle.patch b/dev-build/cmake/files/cmake-3.16.0_rc4-darwin-bundle.patch deleted file mode 100644 index 5aac1be55da6..000000000000 --- a/dev-build/cmake/files/cmake-3.16.0_rc4-darwin-bundle.patch +++ /dev/null @@ -1,41 +0,0 @@ -From ce929588adf61ee24bb6850f4b9a58cc7ea224c7 Mon Sep 17 00:00:00 2001 -From: Lars Wendler <polynomial-c@gentoo.org> -Date: Tue, 19 Nov 2019 12:28:53 +0100 -Subject: [PATCH] Don't use .so for modules on darwin/macos. Use .bundle - instead. - -Patch by Heiko Przybyl - -Forward-ported from 2.8.10 to 3.4.0-rc1 -Forward-ported from 3.4.0-rc1 to 3.16.0-rc4 - -Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> ---- - Modules/Platform/Darwin.cmake | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/Modules/Platform/Darwin.cmake b/Modules/Platform/Darwin.cmake -index 1482d76ae6..6a432963b6 100644 ---- a/Modules/Platform/Darwin.cmake -+++ b/Modules/Platform/Darwin.cmake -@@ -43,7 +43,7 @@ endif() - set(CMAKE_SHARED_LIBRARY_PREFIX "lib") - set(CMAKE_SHARED_LIBRARY_SUFFIX ".dylib") - set(CMAKE_SHARED_MODULE_PREFIX "lib") --set(CMAKE_SHARED_MODULE_SUFFIX ".so") -+set(CMAKE_SHARED_MODULE_SUFFIX ".bundle") - set(CMAKE_MODULE_EXISTS 1) - set(CMAKE_DL_LIBS "") - -@@ -67,7 +67,7 @@ foreach(lang C CXX OBJC OBJCXX) - endforeach() - - set(CMAKE_PLATFORM_HAS_INSTALLNAME 1) --set(CMAKE_FIND_LIBRARY_SUFFIXES ".tbd" ".dylib" ".so" ".a") -+set(CMAKE_FIND_LIBRARY_SUFFIXES ".tbd" ".dylib" ".bundle" ".a") - - # hack: if a new cmake (which uses CMAKE_INSTALL_NAME_TOOL) runs on an old build tree - # (where install_name_tool was hardcoded) and where CMAKE_INSTALL_NAME_TOOL isn't in the cache --- -2.24.0 - |