Skip to content

Commit

Permalink
Add secur32 and bcrypt for windows static linking (schannel)
Browse files Browse the repository at this point in the history
  • Loading branch information
9EOR9 committed Aug 16, 2020
1 parent d9a5ee4 commit 16a3882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mariadb_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 16a3882

Please sign in to comment.