mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: gettext: Link explicitly to libexpat, again.
* gnu/packages/gettext.scm (gnu-gettext): Re-enable patch from
0e4e4b1329
to explictly link to
libexpat. Otherwise libexpat was searched at runtime via dlopen,
which obviously doesn't work in a Guix context.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
29ec55ee27
commit
4aaad09db1
1 changed files with 9 additions and 1 deletions
|
@ -70,7 +70,15 @@ (define-public gnu-gettext
|
|||
(substitute* "gettext-tools/src/project-id"
|
||||
(("/bin/pwd")
|
||||
"pwd")))))
|
||||
%standard-phases)
|
||||
(alist-cons-before
|
||||
'configure 'link-expat
|
||||
(lambda _
|
||||
;; Gettext defaults to opening expat via dlopen on
|
||||
;; "Linux". Change to link directly.
|
||||
(substitute* "gettext-tools/configure"
|
||||
(("LIBEXPAT=\"-ldl\"") "LIBEXPAT=\"-ldl -lexpat\"")
|
||||
(("LTLIBEXPAT=\"-ldl\"") "LTLIBEXPAT=\"-ldl -lexpat\"")))
|
||||
%standard-phases))
|
||||
|
||||
;; When tests fail, we want to know the details.
|
||||
#:make-flags '("VERBOSE=yes")))
|
||||
|
|
Loading…
Reference in a new issue