mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: mujs: Install shared library.
* gnu/packages/javascript.scm (mujs)[arguments]: Add custom phase to install libmujs.so.
This commit is contained in:
parent
1371e2250a
commit
f8ddf719f3
1 changed files with 8 additions and 2 deletions
|
@ -425,8 +425,14 @@ (define-public mujs
|
||||||
"0pkv26jxwgv5ax0ylfmi4h96h79hj4gvr95218ns8wngnmgr1ny6"))))
|
"0pkv26jxwgv5ax0ylfmi4h96h79hj4gvr95218ns8wngnmgr1ny6"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:phases (modify-phases %standard-phases
|
'(#:phases
|
||||||
(delete 'configure)) ; no configure
|
(modify-phases %standard-phases
|
||||||
|
(delete 'configure) ; no configure
|
||||||
|
(add-after 'install 'install-shared-library
|
||||||
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
|
(let ((out (assoc-ref outputs "out")))
|
||||||
|
(install-file "build/release/libmujs.so"
|
||||||
|
(string-append out "/lib"))))))
|
||||||
#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))
|
#:make-flags (list (string-append "prefix=" (assoc-ref %outputs "out"))
|
||||||
(string-append "CC=gcc"))
|
(string-append "CC=gcc"))
|
||||||
#:tests? #f)) ; no tests
|
#:tests? #f)) ; no tests
|
||||||
|
|
Loading…
Reference in a new issue