me
/
guix
Archived
1
0
Fork 0

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
master
Raghav Gururajan 2021-02-23 12:03:23 -05:00 committed by Leo Prikler
parent 22f303d70b
commit 1be08b1e01
No known key found for this signature in database
GPG Key ID: 442A84B8C70E2F87
1 changed files with 9 additions and 0 deletions

View File

@ -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)))