deepin.dtkwidget: use qmakeFlags

This commit is contained in:
worldofpeace 2019-07-21 23:30:24 -04:00
parent 98656c95d8
commit d01d0c1a81
1 changed files with 7 additions and 6 deletions

View File

@ -31,12 +31,13 @@ mkDerivation rec {
dtkcore
];
preConfigure = ''
qmakeFlags="$qmakeFlags \
INCLUDE_INSTALL_DIR=$out/include \
LIB_INSTALL_DIR=$out/lib \
QT_HOST_DATA=$out"
'';
outRef = placeholder "out";
qmakeFlags = [
"INCLUDE_INSTALL_DIR=${outRef}/include"
"LIB_INSTALL_DIR=${outRef}/lib"
"QT_HOST_DATA=${outRef}"
];
enableParallelBuilding = true;