summarylogtreecommitdiffstats
path: root/0002-Enable-pkg-config-for-mingw-w64-build.patch
diff options
context:
space:
mode:
authorMartchus2020-09-12 20:59:37 +0200
committerMartchus2020-09-12 20:59:37 +0200
commit8a5759db9b44df55799f1a80709922cfea170a4d (patch)
treeeb26a168456c14351700f0e868b88a018fa8c272 /0002-Enable-pkg-config-for-mingw-w64-build.patch
parenta8ca47afc05e9e21a4475ef7c2d9fe0e0d804b56 (diff)
downloadaur-8a5759db9b44df55799f1a80709922cfea170a4d.tar.gz
Update to 3.1.9 and enable pkg-config file
Diffstat (limited to '0002-Enable-pkg-config-for-mingw-w64-build.patch')
-rw-r--r--0002-Enable-pkg-config-for-mingw-w64-build.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0002-Enable-pkg-config-for-mingw-w64-build.patch b/0002-Enable-pkg-config-for-mingw-w64-build.patch
new file mode 100644
index 000000000000..2deedcf6f23c
--- /dev/null
+++ b/0002-Enable-pkg-config-for-mingw-w64-build.patch
@@ -0,0 +1,25 @@
+From 986f8b78bdb95357ff16951161f356e270bde222 Mon Sep 17 00:00:00 2001
+From: Martchus <martchus@gmx.net>
+Date: Sat, 12 Sep 2020 20:30:49 +0200
+Subject: [PATCH 2/2] Enable pkg-config for mingw-w64 build
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 09b91c2..9cf2ce7 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -407,7 +407,7 @@ ENDIF()
+ INCLUDE(${CC_SOURCE_DIR}/plugins/CMakeLists.txt)
+ ADD_SUBDIRECTORY(include)
+ ADD_SUBDIRECTORY(libmariadb)
+-IF(NOT WIN32)
++IF(NOT WIN32 OR MINGW)
+ ADD_SUBDIRECTORY(mariadb_config)
+ ENDIF()
+
+--
+2.28.0
+