summaryrefslogtreecommitdiff
path: root/exiv2-no-rpath.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 01:59:30 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 01:59:30 +0000
commit4900399dc744aef28ed0b7c26858945b31139bc0 (patch)
treed15fa04461ee85ae26eedf942de815bcf227005f /exiv2-no-rpath.patch
parent0d53cc2974302632ea06a9101664fc592a10c1f6 (diff)
automatic import of exiv2openeuler24.03_LTS
Diffstat (limited to 'exiv2-no-rpath.patch')
-rw-r--r--exiv2-no-rpath.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/exiv2-no-rpath.patch b/exiv2-no-rpath.patch
new file mode 100644
index 0000000..09ff0ef
--- /dev/null
+++ b/exiv2-no-rpath.patch
@@ -0,0 +1,13 @@
+diff --git a/cmake/mainSetup.cmake b/cmake/mainSetup.cmake
+index fcaa21f..f69fc46 100644
+--- a/cmake/mainSetup.cmake
++++ b/cmake/mainSetup.cmake
+@@ -23,8 +23,6 @@ if (UNIX)
+ if (APPLE)
+ set(CMAKE_MACOSX_RPATH ON)
+ set(CMAKE_INSTALL_RPATH "@loader_path")
+- else()
+- join_paths(CMAKE_INSTALL_RPATH "$ORIGIN" ".." "${CMAKE_INSTALL_LIBDIR}")
+ endif()
+ endif()
+