From 5c8a2bf152afb234ba10af2913068fa320b133f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Sun, 17 Jan 2010 14:01:47 +0000 Subject: [PATCH] Add openssl to qt 4.5, for all the kde https communications to work. svn path=/nixpkgs/trunk/; revision=19499 --- pkgs/development/libraries/qt-4.5/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/qt-4.5/default.nix b/pkgs/development/libraries/qt-4.5/default.nix index e19edae3bdb..d7d69a3fa8e 100644 --- a/pkgs/development/libraries/qt-4.5/default.nix +++ b/pkgs/development/libraries/qt-4.5/default.nix @@ -44,6 +44,11 @@ stdenv.mkDerivation { libtiff ]; + # libQtNetwork will call libQtCore for it to dlopen openssl. + NIX_LDFLAGS = "-rpath ${openssl}/lib"; + # Don't shrink the rpath, to keep ${openssl} in it. + dontPatchELF = 1; + prefixKey = "-prefix "; configureFlags = ''