94d2e57c62
before it didn't. Through this commit I expect the build farm to try to build kde, and see whether this way it builds without the unusual NIX_CFLAGS_COMPILE set in the qt setup-hook. svn path=/nixpkgs/trunk/; revision=15838
10 lines
276 B
Bash
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
|