summaryrefslogtreecommitdiffstats
path: root/libzip-rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libzip-rpath.patch')
-rw-r--r--libzip-rpath.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/libzip-rpath.patch b/libzip-rpath.patch
new file mode 100644
index 0000000..bc5e2da
--- /dev/null
+++ b/libzip-rpath.patch
@@ -0,0 +1,13 @@
+diff -up ./CMakeLists.txt.rpm ./CMakeLists.txt
+--- ./CMakeLists.txt.rpm 2017-12-30 07:46:53.988134130 +0100
++++ ./CMakeLists.txt 2017-12-30 07:47:03.787185954 +0100
+@@ -139,9 +139,6 @@ endif(CMAKE_SYSTEM_NAME MATCHES WindowsP
+
+ ADD_DEFINITIONS("-DHAVE_CONFIG_H")
+
+-# rpath handling: use rpath in installed binaries
+-SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}")
+-SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+
+ # Testing
+ ENABLE_TESTING()