summaryrefslogtreecommitdiffstats
path: root/libzip-rpath.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-12-30 08:18:40 +0100
committerRemi Collet <remi@remirepo.net>2017-12-30 08:18:40 +0100
commitc11462288d96842ebadecd57731e4f589e49dc77 (patch)
treeecb285693336899a24e6b5511c57ba57eb27bd4b /libzip-rpath.patch
parent71a358d094539c5b3daf157618c7f634792655e7 (diff)
update to 1.4.0
switch to cmake add upstream patch for lib64
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()