gnu: avidemux: Add output lib dir to rpath.

* gnu/packages/video.scm (avidemux): Set -DCMAKE_SHARED_LINKER_FLAGS
    in the call to cmake.
This commit is contained in:
Andreas Enge 2015-05-31 23:30:05 +02:00
parent 2b5115f8ba
commit c687f73110
1 changed files with 2 additions and 0 deletions

View File

@ -1102,6 +1102,8 @@ for use with HTML5 video.")
"-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE" "-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE"
(string-append "-DCMAKE_INSTALL_PREFIX=" out) (string-append "-DCMAKE_INSTALL_PREFIX=" out)
(string-append "-DCMAKE_INSTALL_RPATH=" lib) (string-append "-DCMAKE_INSTALL_RPATH=" lib)
(string-append "-DCMAKE_SHARED_LINKER_FLAGS="
"\"-Wl,-rpath=" lib "\"")
(string-append "-DAVIDEMUX_SOURCE_DIR=" top) (string-append "-DAVIDEMUX_SOURCE_DIR=" top)
(string-append "-DSDL_INCLUDE_DIR=" (string-append "-DSDL_INCLUDE_DIR="
sdl "/include/SDL") sdl "/include/SDL")