nixpkgs-suyu/pkgs/development/libraries/qt-4/setup-hook.sh
Lluís Batlle i Rossell d7e96a4e58 Fixing the qt4 setup hook, where "[ -n $blabla ]" always evaluated to true.
svn path=/nixpkgs/trunk/; revision=15808
2009-05-31 08:35:00 +00:00

7 lines
155 B
Bash

export QTDIR=@out@
if [ -n "$qt4BadIncludes" ]; then
for d in @out@/include/*; do
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$d";
done;
fi