Remove -lzstd for non-static build

This commit is contained in:
Inada Naoki
2021-09-03 11:05:26 +09:00
parent 62ddd30bb2
commit 180c9df4ab

View File

@ -128,7 +128,7 @@ def get_config():
if use_mysqlconfig_cflags:
# mysql_config may have "-lmysqlclient -lz -lssl -lcrypto", but zlib and
# ssl is not used by _mysql. They are needed only for static build.
for L in ("crypto", "ssl", "z"):
for L in ("crypto", "ssl", "z", "zstd"):
if L in libraries:
libraries.remove(L)