gnu: libpsl: Fix link flag in 'libpsl.pc'.

* gnu/packages/web.scm (libpsl)[source]: Add 'snippet' and 'modules'
  fields.
This commit is contained in:
Ludovic Courtès 2015-03-01 22:21:53 +01:00
parent 9041d935c4
commit ec35d36495

View file

@ -248,7 +248,12 @@ (define-public libpsl
(sha256
(base32
"10s7xxxx6pp4ydp3san69sa6q379ih3pv92fyi565ggmlw8igv7a"))
(file-name (string-append name "-" version ".tar.gz"))))
(file-name (string-append name "-" version ".tar.gz"))
(modules '((guix build utils)))
(snippet
;; Believe it or not, the .pc is invalid. Fix it.
'(substitute* "libpsl.pc.in"
(("-llibpsl") "-lpsl")))))
(build-system gnu-build-system)
(inputs `(("icu4c" ,icu4c)))
;; The release tarball lacks the generated files.