We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 768ae5e commit 4a48401Copy full SHA for 4a48401
setup_posix.py
@@ -90,6 +90,12 @@ def get_config():
90
extra_objects.append(os.path.join(library_dirs[0], 'lib%s.a' % client))
91
if client in libraries:
92
libraries.remove(client)
93
+ else:
94
+ # mysql_config may have "-lmysqlclient -lz -lssl -lcrypto", but zlib and
95
+ # ssl is not used by _mysql. They are needed only for static build.
96
+ for L in ('crypto', 'ssl', 'z'):
97
+ if L in libraries:
98
+ libraries.remove(L)
99
100
name = "mysqlclient"
101
metadata['name'] = name
0 commit comments