blob: d8e8adf190ca428d8499318e977b83c64faf864f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From c49745c7dd018086e2566fed2a7a393fe21460d6 Mon Sep 17 00:00:00 2001
From: Martchus <martchus@gmx.net>
Date: Sun, 18 Sep 2016 18:56:55 +0200
Subject: [PATCH 24/26] Use shared/static version of MariaDB
---
config.tests/unix/mysql/mysql.pro | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/config.tests/unix/mysql/mysql.pro b/config.tests/unix/mysql/mysql.pro
index 06d1880..5dadbfb 100644
--- a/config.tests/unix/mysql/mysql.pro
+++ b/config.tests/unix/mysql/mysql.pro
@@ -1,3 +1,7 @@
SOURCES = mysql.cpp
CONFIG -= qt dylib
-LIBS += -lmysqlclient
+contains(CONFIG, static) {
+ LIBS += -lmariadbclient -lws2_32 -lpthread -lz -lm -lssl -lcrypto
+} else {
+ LIBS += -lmariadbclient
+}
--
2.10.2
|