summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b77561d725a..e718d819062 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -34,10 +34,13 @@ build() {
for _arch in ${_architectures}; do
export QTDIR=/usr/${_arch}/lib/qt6
export PATH=${QTDIR}/bin:${PATH}
+ export QMAKESPEC=${QTDIR}/mkspecs/win32-g++
+
mkdir -p "${srcdir}/qwt-build-${_arch}"
cd "${srcdir}"
- cp -r "qwt-6.2" "qwt-build-${_arch}"
- cd "${srcdir}/qwt-build-${_arch}/qwt-6.2"
+ rm -rf qwt-build-${_arch}
+ cp -r "qwt-6.2" qwt-build-${_arch}
+ cd qwt-build-${_arch}
# This is a mingw build, so Windows prefix is used. Let's change it:
sed -i "s|C:/Qwt-\$\$QWT_VERSION|/usr/${_arch}|" qwtconfig.pri