qt-webkit: fix cross

This commit is contained in:
Jürgen Buchmüller 2017-02-19 14:17:41 +01:00
parent 0d9dd37c18
commit 090d50f1da
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'qt-webkit'
pkgname=qt-webkit
version=2.3.4
revision=4
revision=5
_qtver=4.8.7
wrksrc="qtwebkit-${version}"
create_wrksrc=yes
@ -63,6 +63,8 @@ do_build() {
opts+=" --qmakearg=\"QMAKE_CXXFLAGS_RELEASE='$CXXFLAGS'\""
opts+=" --qmakearg=\"QMAKE_LFLAGS='$LDFLAGS'\""
opts+=" --qmakearg=\"QMAKE_LFLAGS_RELEASE='$LDFLAGS'\""
opts+=" --qmakearg=\"QMAKE_INCDIR=${XBPS_CROSS_BASE}/usr/include\""
opts+=" --qmakearg=\"QMAKE_INCDIR_QT=${XBPS_CROSS_BASE}/usr/include\""
fi
export QTDIR=/usr
export PATH="/usr/lib/qt/bin:$PATH"