gnu: kodi: Wrap executable so it finds libcurl.
* gnu/packages/kodi.scm (kodi)[arguments]: Add 'wrap' phase.
This commit is contained in:
parent
a4f5423415
commit
4b9a5bd990
|
@ -339,7 +339,14 @@ generator library for C++.")
|
||||||
#t))
|
#t))
|
||||||
(add-before 'check 'build-kodi-test
|
(add-before 'check 'build-kodi-test
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero? (system* "make" "kodi-test")))))))
|
(zero? (system* "make" "kodi-test"))))
|
||||||
|
(add-after 'install 'wrap
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out"))
|
||||||
|
(curl (string-append (assoc-ref inputs "curl") "/lib")))
|
||||||
|
(wrap-program (string-append out "/bin/kodi")
|
||||||
|
`("LD_LIBRARY_PATH" suffix (,curl)))
|
||||||
|
#t))))))
|
||||||
;; TODO: Add dependencies for:
|
;; TODO: Add dependencies for:
|
||||||
;; - nfs
|
;; - nfs
|
||||||
;; - cec
|
;; - cec
|
||||||
|
|
Loading…
Reference in New Issue