gnu: util-linux: Remove static library reference from '.la' files.
* gnu/packages/linux.scm (util-linux)[arguments]: Substitute all '.la' files.
This commit is contained in:
parent
334bd08c42
commit
de781c05e7
|
@ -645,7 +645,14 @@ providing the system administrator with some help in common tasks.")
|
|||
(rename-file file
|
||||
(string-append static "/"
|
||||
file)))
|
||||
(find-files "lib" "\\.a$")))
|
||||
(find-files "lib" "\\.a$"))
|
||||
|
||||
;; Remove references to the static library from the '.la'
|
||||
;; files so that Libtool does the right thing when both
|
||||
;; the shared and static library is available.
|
||||
(substitute* (find-files "lib" "\\.la$")
|
||||
(("old_library=.*") "old_library=''\n")))
|
||||
|
||||
#t))))))
|
||||
(inputs `(("zlib" ,zlib)
|
||||
("ncurses" ,ncurses)
|
||||
|
|
Loading…
Reference in New Issue