~ruther/guix-local

ref: next-master guix-local/gnu/packages/patches/swift-5.7.3-sdk-path.patch -rw-r--r-- 680 bytes
b989e013 — Andy Tai gnu: koboldcpp: Update to 1.106.2. 30 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Danny Milosavljevic <dannym@friendly-machines.com>
Date: 2025-10-20
Subject: Fix rpath for lib/swift/linux

--- a/stdlib/cmake/modules/AddSwiftStdlib.cmake
+++ b/stdlib/cmake/modules/AddSwiftStdlib.cmake
@@ -1230,7 +1230,7 @@ function(_add_swift_runtime_link_flags target relpath_to_lib_dir bootstrapping)
       list(APPEND library_search_directories "$ENV{SDKROOT}/usr/lib/swift")
   endif()

-  list(APPEND library_search_directories "${SWIFT_SDK_${sdk}_ARCH_${arch}_PATH}/usr/lib/swift")
+  list(APPEND library_search_directories "${CMAKE_INSTALL_PREFIX}/lib/swift/linux")

   if(BOOTSTRAPPING_MODE STREQUAL "CROSSCOMPILE")
     list(APPEND library_search_directories