From 316c6eac05b6cbae5f182b7627f0178ac4144e0d Mon Sep 17 00:00:00 2001 From: Michel van Kessel Date: Sat, 21 Nov 2020 14:23:54 +0100 Subject: [PATCH] make Windows cross compile work --- depends/config.site.in | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/depends/config.site.in b/depends/config.site.in index 5d0c76c71..d2a2776bd 100644 --- a/depends/config.site.in +++ b/depends/config.site.in @@ -52,6 +52,15 @@ if test x@host_os@ = xdarwin; then PORT=no fi +if test x@host_os@ = xmingw32; then + if test -z $with_qt_incdir; then + with_qt_incdir=$depends_prefix/include + fi + if test -z $with_qt_libdir; then + with_qt_libdir=$depends_prefix/lib + fi +fi + PATH=$depends_prefix/native/bin:$PATH PKG_CONFIG="$(which pkg-config) --static"