Add secur32 and bcrypt for windows static linking (schannel)

This commit is contained in:
Georg Richter
2020-08-16 17:38:20 +02:00
parent d9a5ee474b
commit 16a3882cb0

View File

@ -55,7 +55,7 @@ def get_config(options):
cfg = MariaDBConfiguration()
cfg.includes = [".\\include", mariadb_dir + "\\include", mariadb_dir + "\\include\\mysql"]
cfg.lib_dirs = [mariadb_dir + "\\lib"]
cfg.libs = ["ws2_32", "advapi32", "kernel32", "shlwapi", "crypt32"]
cfg.libs = ["ws2_32", "advapi32", "kernel32", "shlwapi", "crypt32", "secur32", "bcrypt"]
if static.lower() == "on" or static.lower() == "default":
cfg.libs.append("mariadbclient")
else: