We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RPATH
1 parent bb57017 commit 11115e9Copy full SHA for 11115e9
CMakeLists.txt
@@ -580,8 +580,13 @@ endif()
580
# Relevant discussions:
581
# - https://github.com/hebasto/bitcoin/pull/236#issuecomment-2183120953
582
# - https://github.com/bitcoin/bitcoin/pull/30312#issuecomment-2191235833
583
-set(CMAKE_SKIP_BUILD_RPATH TRUE)
584
-set(CMAKE_SKIP_INSTALL_RPATH TRUE)
+# NetBSD always requires runtime paths to be set for executables.
+if(CMAKE_SYSTEM_NAME STREQUAL "NetBSD")
585
+ set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
586
+else()
587
+ set(CMAKE_SKIP_BUILD_RPATH TRUE)
588
+ set(CMAKE_SKIP_INSTALL_RPATH TRUE)
589
+endif()
590
add_subdirectory(test)
591
add_subdirectory(doc)
592
0 commit comments