guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/08: gnu: libstrophe: Disable static libraries.


From: guix-commits
Subject: 06/08: gnu: libstrophe: Disable static libraries.
Date: Tue, 23 Feb 2021 18:58:36 -0500 (EST)

leoprikler pushed a commit to branch master
in repository guix.

commit 1be08b1e0195062ffe165366838e208f19d40e38
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Tue Feb 23 12:03:23 2021 -0500

    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
---
 gnu/packages/messaging.scm | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gnu/packages/messaging.scm b/gnu/packages/messaging.scm
index e121a93..fc204ff 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]