MINGW-packages/mingw-w64-qt5-base/0004-fix-linking-again-different-static-libs.patch
مهدي شينون (Mehdi Chinoune) d3351b41cf qt5: update to 5.15.8 - Part1
2023-01-05 18:27:27 +01:00

25 lines
792 B
Diff

--- a/src/corelib/text/qregularexpression.cpp 2019-06-12 23:59:14.000000000 +0300
+++ b/src/corelib/text/qregularexpression.cpp 2019-06-15 14:59:25.087038500 +0300
@@ -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>
--- a/src/network/configure.json 2019-06-12 23:59:14.000000000 +0300
+++ b/src/network/configure.json 2019-06-15 14:59:25.102638600 +0300
@@ -98,7 +98,7 @@
"condition": "config.msvc"
},
{
- "libs": "-lssl -lcrypto",
+ "libs": "-lssl -lcrypto -lws2_32 -lcrypt32 -lgdi32",
"condition": "!config.msvc"
}
]