aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/video.scm
diff options
context:
space:
mode:
authorAndreas Enge <andreas@enge.fr>2015-05-31 23:30:05 +0200
committerAndreas Enge <andreas@enge.fr>2015-05-31 23:31:50 +0200
commitc687f73110e09f32d58e0835efdde7b340cb0202 (patch)
tree8e469a80fd175b79f87d80fa378bc35a655ef027 /gnu/packages/video.scm
parent2b5115f8ba62f3d36f39c0c6ee3b49fbc04e986a (diff)
downloadpatches-c687f73110e09f32d58e0835efdde7b340cb0202.tar
patches-c687f73110e09f32d58e0835efdde7b340cb0202.tar.gz
gnu: avidemux: Add output lib dir to rpath.
* gnu/packages/video.scm (avidemux): Set -DCMAKE_SHARED_LINKER_FLAGS in the call to cmake.
Diffstat (limited to 'gnu/packages/video.scm')
-rw-r--r--gnu/packages/video.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index b9f80b252d..94d9bc30ca 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1102,6 +1102,8 @@ for use with HTML5 video.")
"-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE"
(string-append "-DCMAKE_INSTALL_PREFIX=" out)
(string-append "-DCMAKE_INSTALL_RPATH=" lib)
+ (string-append "-DCMAKE_SHARED_LINKER_FLAGS="
+ "\"-Wl,-rpath=" lib "\"")
(string-append "-DAVIDEMUX_SOURCE_DIR=" top)
(string-append "-DSDL_INCLUDE_DIR="
sdl "/include/SDL")