nixpkgs/pkgs/development/libraries/qt-4.6/setup-hook.sh
Armijn Hemel faead7fa2e Qt 4.6
svn path=/nixpkgs/trunk/; revision=19089
2009-12-24 09:49:35 +00:00

10 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