From 93dc9dc333e384fb1ad42647da45d5da096e455b Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Fri, 19 Feb 2021 20:24:15 -0500 Subject: gnu: libmesode: Disable static libraries. * gnu/packages/messaging.scm (libmesode)[arguments]: Add --disable-static configure flag. Patch Makefile.am to make tests link correctly. --- gnu/packages/messaging.scm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu') 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))) -- cgit v1.2.3