/[gentoo-x86]/dev-util/cmake/files/cmake-2.6.3-darwin-bundle.patch
Gentoo

Contents of /dev-util/cmake/files/cmake-2.6.3-darwin-bundle.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Tue May 21 18:19:35 2013 UTC (14 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
Remove old.

(Portage version: 2.2.0_alpha176/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)

1 Don't use .so for modules on darwin/macos. Use .bundle instead.
2 Patch by Heiko Przybyl
3
4 --- Modules/Platform/Darwin.cmake
5 +++ Modules/Platform/Darwin.cmake
6 @@ -23,7 +23,7 @@
7 SET(CMAKE_SHARED_LIBRARY_PREFIX "lib")
8 SET(CMAKE_SHARED_LIBRARY_SUFFIX ".dylib")
9 SET(CMAKE_SHARED_MODULE_PREFIX "lib")
10 -SET(CMAKE_SHARED_MODULE_SUFFIX ".so")
11 +SET(CMAKE_SHARED_MODULE_SUFFIX ".bundle")
12 SET(CMAKE_MODULE_EXISTS 1)
13 SET(CMAKE_DL_LIBS "")
14
15 @@ -45,7 +45,7 @@
16 SET(CMAKE_SHARED_MODULE_CREATE_C_FLAGS "-bundle -headerpad_max_install_names")
17 SET(CMAKE_SHARED_MODULE_LOADER_C_FLAG "-Wl,-bundle_loader,")
18 SET(CMAKE_SHARED_MODULE_LOADER_CXX_FLAG "-Wl,-bundle_loader,")
19 -SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".so" ".a")
20 +SET(CMAKE_FIND_LIBRARY_SUFFIXES ".dylib" ".bundle" ".a")
21
22 # hack: if a new cmake (which uses CMAKE_INSTALL_NAME_TOOL) runs on an old build tree
23 # (where install_name_tool was hardcoded) and where CMAKE_INSTALL_NAME_TOOL isn't in the cache

  ViewVC Help
Powered by ViewVC 1.1.20