aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-10-29 00:14:47 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-10-29 18:30:58 +0100
commitc9dc457711a34bff7e0c176848a3ef7a2b3cdd1e (patch)
tree5bbc7365987e642a177489bc5e9c2b94c686f413 /gnu
parentd59ec12975d8411d757a5a0aa4a5e23af83d289e (diff)
downloadpatches-c9dc457711a34bff7e0c176848a3ef7a2b3cdd1e.tar
patches-c9dc457711a34bff7e0c176848a3ef7a2b3cdd1e.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mail.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index bac594c815..1ae88a02e8 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -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