summary refs log tree commit diff
diff options
context:
space:
mode:
authorRaghav Gururajan <rg@raghavgururajan.name>2021-02-23 12:03:23 -0500
committerLeo Prikler <leo.prikler@student.tugraz.at>2021-02-24 00:50:36 +0100
commit1be08b1e0195062ffe165366838e208f19d40e38 (patch)
treef41c654789dff60f1fa5533fe7449d84da59ebd0
parent22f303d70b4dd84e79ed4cb640a31b4e88fa02d5 (diff)
downloadguix-1be08b1e0195062ffe165366838e208f19d40e38.tar.gz
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 <leo.prikler@student.tugraz.at>

libstrophe oneline
-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 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)))