PKGBUILDs/qt5-base/mingw-w64/0003-Don-t-set-QT_NO_SYSTEM...

26 lines
805 B
Diff

From 7f9c28d0bd3a4b89ea5ecb44e38c4b0aabcc0026 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Thu, 6 Aug 2015 13:24:56 +0200
Subject: [PATCH 03/26] Don't set QT_NO_SYSTEMSEMAPHORE for Windows
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index ba94d08714..50e6dfbce6 100755
--- a/configure
+++ b/configure
@@ -4677,7 +4677,7 @@ fi
[ "$XPLATFORM_ANDROID" != "no" ] && QMakeVar add styles "android"
# check IPC support
-if ! compileTest unix/ipc_sysv "ipc_sysv" ; then
+if [ "$XPLATFORM_MINGW" = "no" ] && ! compileTest unix/ipc_sysv "ipc_sysv" ; then
# SYSV IPC is not supported - check POSIX IPC
if compileTest unix/ipc_posix "ipc_posix" ; then
QCONFIG_FLAGS="$QCONFIG_FLAGS QT_POSIX_IPC"
--
2.11.0