gnu: libpsl: Fix link flag in 'libpsl.pc'.
* gnu/packages/web.scm (libpsl)[source]: Add 'snippet' and 'modules' fields.
This commit is contained in:
parent
9041d935c4
commit
ec35d36495
|
@ -248,7 +248,12 @@ for efficient socket-like bidirectional reliable communication channels.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"10s7xxxx6pp4ydp3san69sa6q379ih3pv92fyi565ggmlw8igv7a"))
|
"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)
|
(build-system gnu-build-system)
|
||||||
(inputs `(("icu4c" ,icu4c)))
|
(inputs `(("icu4c" ,icu4c)))
|
||||||
;; The release tarball lacks the generated files.
|
;; The release tarball lacks the generated files.
|
||||||
|
|
Loading…
Reference in New Issue