summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaghav Gururajan <rg@raghavgururajan.name>2021-02-19 20:24:15 -0500
committerLeo Prikler <leo.prikler@student.tugraz.at>2021-02-24 00:49:26 +0100
commit93dc9dc333e384fb1ad42647da45d5da096e455b (patch)
tree836ccd0b774ca296b67147508d43b598bcdcb76f
parent266a37285c4b644416346adbd3d32897d75e7c24 (diff)
gnu: libmesode: Disable static libraries.
* gnu/packages/messaging.scm (libmesode)[arguments]: Add --disable-static configure flag. Patch Makefile.am to make tests link correctly.
-rw-r--r--gnu/packages/messaging.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index a20a322725..54810d6ac0 100644
--- a/gnu/packages/messaging.scm
+++ b/gnu/packages/messaging.scm
@@ -2015,6 +2015,15 @@ is also scriptable and extensible via Guile.")
(base32
"1bxnkhrypgv41qyy1n545kcggmlw1hvxnhwihijhhcf2pxd2s654"))))
(build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags (list "--disable-static")
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-make
+ (lambda _
+ (substitute* "Makefile.am"
+ (("'\\^xmpp_'") "'.'"))
+ #t)))))
(inputs
`(("expat" ,expat)
("openssl" ,openssl)))