blob: 35d3fad3dfa549ebf1d7c7ae1c027b2cbe86c131 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- swift/stdlib/cmake/modules/AddSwiftStdlib.cmake.orig 2024-06-06 04:26:30 UTC
+++ swift/stdlib/cmake/modules/AddSwiftStdlib.cmake
@@ -1209,6 +1209,10 @@ function(add_swift_target_library_single target name)
set_target_properties("${target}"
PROPERTIES
INSTALL_RPATH "$ORIGIN")
+ elseif("${SWIFTLIB_SINGLE_SDK}" STREQUAL "FREEBSD")
+ set_target_properties("${target}"
+ PROPERTIES
+ INSTALL_RPATH "$ORIGIN")
endif()
set_target_properties("${target}" PROPERTIES BUILD_WITH_INSTALL_RPATH YES)
|