mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: libxml2: Don't reference libxml2.a in the default output.
* gnu/packages/xml.scm (libxml2)[arguments]: Add substitution for libxml2.la.
This commit is contained in:
parent
c4ac237f08
commit
d52680eec0
1 changed files with 6 additions and 0 deletions
|
@ -145,6 +145,12 @@ (define-public libxml2
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue