From 1be08b1e0195062ffe165366838e208f19d40e38 Mon Sep 17 00:00:00 2001 From: Raghav Gururajan Date: Tue, 23 Feb 2021 12:03:23 -0500 Subject: gnu: libstrophe: Disable static libraries. * gnu/packages/messaging.scm (libstrope)[arguments]: Add --disable-static configure flag. Patch Makefile.am to make tests link correctly. Signed-off-by: Leo Prikler libstrophe oneline --- gnu/packages/messaging.scm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm index e121a93181..fc204ffccc 100644 --- a/gnu/packages/messaging.scm +++ b/gnu/packages/messaging.scm @@ -2054,6 +2054,15 @@ manual SSL certificate verification.") (sha256 (base32 "11d341avsfr0z4lq15cy5dkmff6qpy91wkgzdpfdy31l27pa1g79")))) (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