2024-03-15 22:47:25 +01:00
|
|
|
From 2189baae3ddff3bdba3f8d8480fa313e50432093 Mon Sep 17 00:00:00 2001
|
2016-09-19 22:18:45 +02:00
|
|
|
From: Martchus <martchus@gmx.net>
|
|
|
|
Date: Sun, 18 Sep 2016 14:24:01 +0200
|
2022-09-09 19:02:45 +02:00
|
|
|
Subject: [PATCH 12/32] Fix linking against static pcre
|
2016-09-19 22:18:45 +02:00
|
|
|
|
2017-06-02 18:20:04 +02:00
|
|
|
Change-Id: I3225c6e82dc4d17aef37d4289c16eb7a5ea3c5a1
|
2016-09-19 22:18:45 +02:00
|
|
|
---
|
2019-12-13 01:00:48 +01:00
|
|
|
src/corelib/text/qregularexpression.cpp | 4 ++++
|
2016-09-19 22:18:45 +02:00
|
|
|
1 file changed, 4 insertions(+)
|
|
|
|
|
2019-12-13 01:00:48 +01:00
|
|
|
diff --git a/src/corelib/text/qregularexpression.cpp b/src/corelib/text/qregularexpression.cpp
|
2024-03-15 22:47:25 +01:00
|
|
|
index 1f10150435d..6a97b47773e 100644
|
2019-12-13 01:00:48 +01:00
|
|
|
--- a/src/corelib/text/qregularexpression.cpp
|
|
|
|
+++ b/src/corelib/text/qregularexpression.cpp
|
2023-01-05 15:46:57 +01:00
|
|
|
@@ -57,6 +57,10 @@
|
|
|
|
#endif
|
2016-09-19 22:18:45 +02:00
|
|
|
|
2017-06-02 18:20:04 +02:00
|
|
|
#define PCRE2_CODE_UNIT_WIDTH 16
|
2016-09-19 22:18:45 +02:00
|
|
|
+#ifdef QT_STATIC
|
|
|
|
+#define PCRE_STATIC
|
2017-06-02 18:20:04 +02:00
|
|
|
+#define PCRE2_STATIC
|
2016-09-19 22:18:45 +02:00
|
|
|
+#endif
|
|
|
|
|
2017-06-02 18:20:04 +02:00
|
|
|
#include <pcre2.h>
|
|
|
|
|
2016-09-19 22:18:45 +02:00
|
|
|
--
|
2024-03-15 22:47:25 +01:00
|
|
|
2.44.0
|
2016-09-19 22:18:45 +02:00
|
|
|
|