* https://aur.archlinux.org/packages/mingw-w64-qt5-virtualkeyboard/#comment-739521 * https://aur.archlinux.org/packages/mingw-w64-qt5-base-dynamic/#comment-739527
29 lines
756 B
Diff
29 lines
756 B
Diff
From 0c26bfba6773298fd314fc38ec1be7cb58a5d752 Mon Sep 17 00:00:00 2001
|
|
From: Martchus <martchus@gmx.net>
|
|
Date: Sun, 18 Sep 2016 14:24:01 +0200
|
|
Subject: [PATCH 12/31] Fix linking against static pcre
|
|
|
|
Change-Id: I3225c6e82dc4d17aef37d4289c16eb7a5ea3c5a1
|
|
---
|
|
src/corelib/text/qregularexpression.cpp | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
diff --git a/src/corelib/text/qregularexpression.cpp b/src/corelib/text/qregularexpression.cpp
|
|
index 59d21e0a23..518f91d753 100644
|
|
--- a/src/corelib/text/qregularexpression.cpp
|
|
+++ b/src/corelib/text/qregularexpression.cpp
|
|
@@ -53,6 +53,10 @@
|
|
#include <QtCore/qdatastream.h>
|
|
|
|
#define PCRE2_CODE_UNIT_WIDTH 16
|
|
+#ifdef QT_STATIC
|
|
+#define PCRE_STATIC
|
|
+#define PCRE2_STATIC
|
|
+#endif
|
|
|
|
#include <pcre2.h>
|
|
|
|
--
|
|
2.26.0
|
|
|