nixpkgs-suyu/pkgs/development/libraries/qt-4.x/4.5/setup-hook.sh
Yury G. Kudryashov 0864c1422e Move qt-4.x into subfolder
svn path=/nixpkgs/trunk/; revision=21658
2010-05-07 20:08:31 +00:00

9 lines
276 B
Bash

export QTDIR=@out@
if [ -n "$includeAllQtDirs" ]; then
# This helps for g++, but not for moc. And no qt4 package should expect
# having all qt4 header files dirs into -I.
for d in @out@/include/*; do
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$d"
done
fi