From 47e225cde8039f465365a997c3c5eaf6093b2e64 Mon Sep 17 00:00:00 2001 From: Andreas Enge Date: Sun, 28 Sep 2014 09:35:32 +0200 Subject: gnu: qt-4: Explicitly link with icu. * gnu/packages/qt.scm (qt-4): Explicitly link with libicui18n, which is dlopened by QtCore.so. --- gnu/packages/qt.scm | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gnu/packages/qt.scm') diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm index ced7e90575..f57fedb379 100644 --- a/gnu/packages/qt.scm +++ b/gnu/packages/qt.scm @@ -172,6 +172,12 @@ (define-public qt-4 (let ((out (assoc-ref outputs "out"))) (substitute* '("configure") (("/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 ;; configure process fail (zero? (system* -- cgit v1.2.3