From 2629a7619e1a5b200d430d2e0433b53c8edcda69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josef=20=C5=98=C3=ADdk=C3=BD?= Date: Fri, 11 Feb 2022 14:19:37 +0100 Subject: [PATCH] Add missing patch --- jasper-3.0.0-rpath.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 jasper-3.0.0-rpath.patch diff --git a/jasper-3.0.0-rpath.patch b/jasper-3.0.0-rpath.patch new file mode 100644 index 0000000..7b0ce4d --- /dev/null +++ b/jasper-3.0.0-rpath.patch @@ -0,0 +1,12 @@ +diff -urNp old/CMakeLists.txt new/CMakeLists.txt +--- old/CMakeLists.txt 2022-01-31 10:40:07.521527316 +0100 ++++ new/CMakeLists.txt 2022-01-31 10:41:00.960876005 +0100 +@@ -606,7 +606,7 @@ if(JAS_ENABLE_SHARED) + # (but later on when installing) + set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) + +- set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") ++ #set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") + + # add the automatically determined parts of the RPATH + # which point to directories outside the build tree to the install RPATH