void-packages/srcpkgs/libSavitar/patches/remove-rpath.patch

17 lines
435 B
Diff

Author: Gregor Riepl <onitake@gmail.com>
Description: Remove RPATH from build flags.
It's not needed on Linux and may cause maintenance problems.
See: https://wiki.debian.org/RpathIssue
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -59,8 +59,6 @@
set(SAVITAR_VERSION 0.1.0)
set(SAVITAR_SOVERSION 0)
-set(CMAKE_INSTALL_RPATH ${CMAKE_INSTALL_FULL_LIBDIR})
-
if(BUILD_STATIC)
add_library(Savitar STATIC ${savitar_SRCS})
else()