2024-01-07 21:14:04 +01:00
|
|
|
From c5de4d5b6a0cdb2b8931bf7baf43e75e7e562d45 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
|
2023-01-05 15:46:57 +01:00
|
|
|
index 1f10150435..6a97b47773 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-01-04 16:09:11 +01:00
|
|
|
2.43.0
|
2016-09-19 22:18:45 +02:00
|
|
|
|