2024-03-15 22:47:25 +01:00
|
|
|
From 5cdbce5a33f7881eee348250b1b9867c64ea686d 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
|
2024-03-15 22:47:25 +01:00
|
|
|
index 28ccbeadcde..a5e3001bf60 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": [
|
2024-01-07 21:14:04 +01:00
|
|
|
+ { "libs": "-lmariadbclient -lssl -lcrypto -lcrypt32 -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
|
|
|
--
|
2024-03-15 22:47:25 +01:00
|
|
|
2.44.0
|
2017-01-23 21:37:13 +01:00
|
|
|
|