gnu: mu: Add build phase to fix library reference.

* gnu/packages/mail.scm (mu)[arguments]: Add build phase "fix-ffi" to fix
reference to libguile-mu library.
This commit is contained in:
Ricardo Wurmus 2017-10-29 00:14:47 +02:00
parent d59ec12975
commit c9dc457711
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 7 additions and 0 deletions

View File

@ -572,6 +572,13 @@ security functionality including PGP, S/MIME, SSH, and SSL.")
"guile/mu/Makefile.in")
(("share/guile/site/2.0/") "share/guile/site/2.2/"))
#t))
(add-before 'install 'fix-ffi
(lambda* (#:key outputs #:allow-other-keys)
(substitute* "guile/mu.scm"
(("\"libguile-mu\"")
(format #f "\"~a/lib/libguile-mu\""
(assoc-ref outputs "out"))))
#t))
(add-before 'check 'check-tz-setup
(lambda* (#:key inputs #:allow-other-keys)
;; For mu/test/test-mu-query.c