mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 22:50:49 +00:00
17 lines
321 B
Bash
17 lines
321 B
Bash
qmakeConfigurePhase() {
|
|
runHook preConfigure
|
|
|
|
$QMAKE PREFIX=$out $qmakeFlags
|
|
|
|
if ! [[ -v enableParallelBuilding ]]; then
|
|
enableParallelBuilding=1
|
|
echo "qmake4Hook: enabled parallel building"
|
|
fi
|
|
|
|
runHook postConfigure
|
|
}
|
|
|
|
export QMAKE=@qt4@/bin/qmake
|
|
|
|
configurePhase=qmakeConfigurePhase
|