[Kdenlive-devel] RPaths in Kdenlive

Ray Lehtiniemi rayl at mail.com
Wed Apr 8 15:15:16 UTC 2009


On Wednesday 08 April 2009 01:09:52 Zarko Pintar wrote:

> These RPaths are forbidden in Fedora and there is a tool for removing this.
> But it will be better if you can resolve rpaths in source itself.

well, something like this should kill the RPATH and RUNPATH in all executables...  someone who knows packaging might want to conditionalize this on fedora, though, in case other distros want RPATH...

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a55a483..d97cc66 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,6 +4,7 @@ SET(BASE_VERSION 0.7.2)

 OPTION(RELEASE_BUILD "Remove compilation date to version, use for stable releases (default off)" OFF)
 set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
+set(CMAKE_SKIP_RPATH true)

 # search packages used by KDE
 find_package(KDE4 REQUIRED)


ray




More information about the Kdenlive mailing list