This commit is contained in:
Inada Naoki
2020-07-02 14:10:37 +09:00
parent 1145c72f64
commit 30c23f2cf4
2 changed files with 12 additions and 2 deletions

View File

@ -1,6 +1,6 @@
[metadata]
version: 2.0.0
version_info: (2,0,0)
version_info: (2,0,0,'final',0)
description: Python interface to MySQL
author: Inada Naoki
author_email: songofacandy@gmail.com

View File

@ -18,7 +18,17 @@ def get_config():
vcversion = int(get_build_version())
if client == "mariadbclient":
library_dirs = [os.path.join(connector, "lib", "mariadb")]
libraries = ["kernel32", "advapi32", "wsock32", "shlwapi", "Ws2_32", "crypt32", "secur32", "bcrypt", client]
libraries = [
"kernel32",
"advapi32",
"wsock32",
"shlwapi",
"Ws2_32",
"crypt32",
"secur32",
"bcrypt",
client,
]
include_dirs = [os.path.join(connector, "include", "mariadb")]
else:
library_dirs = [