2023-01-05 15:46:57 +01:00
|
|
|
From bdd02fd64b2acdcb9a763a46f7df656cf842154a Mon Sep 17 00:00:00 2001
|
2017-01-23 21:37:13 +01:00
|
|
|
From: Martchus <martchus@gmx.net>
|
|
|
|
Date: Sun, 18 Sep 2016 18:56:55 +0200
|
2022-09-09 19:02:45 +02:00
|
|
|
Subject: [PATCH 13/32] Fix linking against shared/static MariaDB
|
2017-01-23 21:37:13 +01:00
|
|
|
|
2017-06-02 18:20:04 +02:00
|
|
|
Change-Id: I9722c154d845f288a2d4d1ab14a014066b28819b
|
2017-01-23 21:37:13 +01:00
|
|
|
---
|
2019-02-02 18:18:25 +01:00
|
|
|
src/plugins/sqldrivers/configure.json | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
2017-01-23 21:37:13 +01:00
|
|
|
|
2017-06-30 22:27:38 +02:00
|
|
|
diff --git a/src/plugins/sqldrivers/configure.json b/src/plugins/sqldrivers/configure.json
|
2020-05-29 17:30:23 +02:00
|
|
|
index 28ccbeadcd..7262914c64 100644
|
2017-06-30 22:27:38 +02:00
|
|
|
--- a/src/plugins/sqldrivers/configure.json
|
|
|
|
+++ b/src/plugins/sqldrivers/configure.json
|
2019-02-02 18:18:25 +01:00
|
|
|
@@ -67,6 +67,8 @@
|
2017-10-13 21:29:48 +02:00
|
|
|
},
|
2019-02-02 18:18:25 +01:00
|
|
|
"headers": "mysql.h",
|
2017-01-23 21:37:13 +01:00
|
|
|
"sources": [
|
2020-04-17 22:24:39 +02:00
|
|
|
+ { "libs": "-lmariadbclient -lssl -lcrypto -lshlwapi -lgdi32 -lws2_32 -lpthread -lz -lm", "condition": "config.win32 && !features.shared" },
|
2017-01-23 21:37:13 +01:00
|
|
|
+ { "libs": "-lmariadb", "condition": "config.win32 && features.shared" },
|
2017-06-02 18:20:04 +02:00
|
|
|
{ "type": "mysqlConfig", "query": "--libs_r", "cleanlibs": true },
|
|
|
|
{ "type": "mysqlConfig", "query": "--libs", "cleanlibs": true },
|
|
|
|
{ "type": "mysqlConfig", "query": "--libs_r", "cleanlibs": false },
|
2017-01-23 21:37:13 +01:00
|
|
|
--
|
2023-01-05 15:46:57 +01:00
|
|
|
2.39.0
|
2017-01-23 21:37:13 +01:00
|
|
|
|