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

View file

@ -1102,6 +1102,8 @@ (define-public avidemux
"-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")