gnu: taglib: Fix 'taglib-config --libs' -L flag.

* gnu/packages/mp3.scm (taglib): Add "" around the substitution of
ZLIB_LIBRARIES_FLAGS and add "/lib".

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Michael Rohleder 2020-09-08 12:48:35 +02:00 committed by Ludovic Courtès
parent 65d96ea4b8
commit 219e0a497e
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5

View File

@ -182,9 +182,9 @@ a highly stable and efficient implementation.")
;; flag for zlib.
(substitute* "CMakeLists.txt"
(("set\\(ZLIB_LIBRARIES_FLAGS -lz\\)")
(string-append "set(ZLIB_LIBRARIES_FLAGS -L"
(string-append "set(ZLIB_LIBRARIES_FLAGS \"-L"
(assoc-ref inputs "zlib")
" -lz)")))
"/lib -lz\")")))
#t)))))
(inputs `(("zlib" ,zlib)))
(home-page "https://taglib.org")