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

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Kdenlive-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel

Reply via email to