mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: qt-4: Explicitly link with icu.
* gnu/packages/qt.scm (qt-4): Explicitly link with libicui18n, which is dlopened by QtCore.so.
This commit is contained in:
parent
fcb0109d09
commit
47e225cde8
1 changed files with 6 additions and 0 deletions
|
@ -172,6 +172,12 @@ (define-public qt-4
|
||||||
(let ((out (assoc-ref outputs "out")))
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(substitute* '("configure")
|
(substitute* '("configure")
|
||||||
(("/bin/pwd") (which "pwd")))
|
(("/bin/pwd") (which "pwd")))
|
||||||
|
;; Explicitly link with icui18n, which is dlopened by
|
||||||
|
;; QtCore.so. The LDFLAGS are in fact added to other flags
|
||||||
|
;; determined by the configure phase.
|
||||||
|
;; According to the nix recipe, this may be necessary for
|
||||||
|
;; further libraries (cups, gtk-x11-2.0, libgdk-x11-2.0).
|
||||||
|
(setenv "LDFLAGS" "-licui18n")
|
||||||
;; do not pass "--enable-fast-install", which makes the
|
;; do not pass "--enable-fast-install", which makes the
|
||||||
;; configure process fail
|
;; configure process fail
|
||||||
(zero? (system*
|
(zero? (system*
|
||||||
|
|
Loading…
Reference in a new issue