mastodon: 4.3.1 -> 4.3.2 (#361487)
[NixPkgs.git] / pkgs / os-specific / darwin / swift-corelibs / 0005-Fix-framework-installation-path.patch
blobe771ab3c66f293d0e64e861d0ff43cc9ae6da905
1 diff -u aa/CoreFoundation/CMakeLists.txt b/CoreFoundation/CMakeLists.txt
2 --- a/CoreFoundation/CMakeLists.txt 1969-12-31 19:00:01.000000000 -0500
3 +++ b/CoreFoundation/CMakeLists.txt 2023-06-29 18:59:19.492601179 -0400
5 @@ -424,16 +424,11 @@
6 set(CMAKE_SHARED_LIBRARY_SUFFIX "")
7 endif()
9 -install(TARGETS
10 - CoreFoundation
11 - DESTINATION
12 - "${CMAKE_INSTALL_FULL_LIBDIR}")
13 install(DIRECTORY
14 ${CoreFoundation_FRAMEWORK_DIRECTORY}
15 DESTINATION
16 - ${CMAKE_INSTALL_PREFIX}/System/Library/Frameworks
17 - USE_SOURCE_PERMISSIONS
18 - PATTERN PrivateHeaders EXCLUDE)
19 + ${CMAKE_INSTALL_PREFIX}/Library/Frameworks
20 + USE_SOURCE_PERMISSIONS)
23 # TODO(compnerd) formalize this