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