summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/mlt/files/mlt-7.0.1-remove-rpath.patch')
-rw-r--r--media-libs/mlt/files/mlt-7.0.1-remove-rpath.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/media-libs/mlt/files/mlt-7.0.1-remove-rpath.patch b/media-libs/mlt/files/mlt-7.0.1-remove-rpath.patch
new file mode 100644
index 0000000..f786b31
--- /dev/null
+++ b/media-libs/mlt/files/mlt-7.0.1-remove-rpath.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt 2021-06-17 12:08:44.052017901 +0200
++++ b/CMakeLists.txt 2021-06-17 12:09:17.007019801 +0200
+@@ -69,6 +69,7 @@
+ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/out/lib")
+ set(MLT_MODULE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/out/lib/mlt")
+ set(MLT_DATA_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/out/share/mlt")
++SET(CMAKE_SKIP_RPATH YES CACHE BOOL "Remove RUNPATH from ELF dynamic sections" FORCE)
+
+ if(NOT EXISTS ${MLT_DATA_OUTPUT_DIRECTORY})
+ if(WIN32) # symlinks require admin rights on Windows