From 9d25c4d4e236c7f5c8b5dd35671f5452a3771afe Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 2 Jun 2009 12:27:27 +0000 Subject: [PATCH] * Lots of Qt packages fail to build if the subdirectories of $out/include aren't explicitly included in the include path. svn path=/nixpkgs/trunk/; revision=15820 --- pkgs/development/libraries/qt-4/setup-hook.sh | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pkgs/development/libraries/qt-4/setup-hook.sh b/pkgs/development/libraries/qt-4/setup-hook.sh index 15a4ddcf8d1..9fff6e9c8ef 100644 --- a/pkgs/development/libraries/qt-4/setup-hook.sh +++ b/pkgs/development/libraries/qt-4/setup-hook.sh @@ -1,7 +1,5 @@ export QTDIR=@out@ -if [ -n "$qt4BadIncludes" ]; then - for d in @out@/include/*; do - export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$d"; - done; -fi +for d in @out@/include/*; do + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$d" +done