mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-09 21:53:24 +00:00
![Lluís Batlle i Rossell](/assets/img/avatar_default.png)
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
|