[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/07: gnu: libxml2: Don't reference libxml2.a in the default output.
From: |
guix-commits |
Subject: |
06/07: gnu: libxml2: Don't reference libxml2.a in the default output. |
Date: |
Wed, 12 Dec 2018 14:12:55 -0500 (EST) |
mbakke pushed a commit to branch core-updates
in repository guix.
commit d52680eec04c83c9350ebedebea19f9aa67ac1e9
Author: Marius Bakke <address@hidden>
Date: Tue Dec 11 23:27:09 2018 +0100
gnu: libxml2: Don't reference libxml2.a in the default output.
* gnu/packages/xml.scm (libxml2)[arguments]: Add substitution for
libxml2.la.
---
gnu/packages/xml.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/xml.scm b/gnu/packages/xml.scm
index fd4c3fe..b85064e 100644
--- a/gnu/packages/xml.scm
+++ b/gnu/packages/xml.scm
@@ -145,6 +145,12 @@ hierarchical form with variable field lengths.")
(rename-file ar (string-append dst "/"
(basename
ar))))
(find-files src "\\.a$"))
+
+ ;; Remove reference to the static library from the .la
+ ;; file such that Libtool does the right thing when
both
+ ;; the shared and static variants are available.
+ (substitute* (string-append src "/libxml2.la")
+ (("^old_library='libxml2.a'") "old_library=''"))
#t))))))
(home-page "http://www.xmlsoft.org/")
(synopsis "C parser for XML")
- branch core-updates updated (da3c6a7 -> 5b2da2a), guix-commits, 2018/12/12
- 02/07: gnu: libgc: Update to 7.6.8., guix-commits, 2018/12/12
- 05/07: gnu: bison: Update to 3.2.2., guix-commits, 2018/12/12
- 04/07: gnu: perl: Update to 5.28.1., guix-commits, 2018/12/12
- 06/07: gnu: libxml2: Don't reference libxml2.a in the default output.,
guix-commits <=
- 07/07: gnu: xz: Move liblzma.a to separate output., guix-commits, 2018/12/12
- 03/07: gnu: libatomic-ops: Update to 7.6.8., guix-commits, 2018/12/12
- 01/07: Merge branch 'master' into core-updates, guix-commits, 2018/12/12