Skip to content

Commit 8d97ed4

Browse files
committed
Remove libmysqlclient reference in _mysqlxpb.so
1 parent db9061e commit 8d97ed4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/cpy_distutils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,8 @@ def _finalize_protobuf(self):
686686
"".format(self.protobuf_lib))
687687
for lib_file in os.listdir(self.protobuf_lib):
688688
lib_file_path = os.path.join(self.protobuf_lib, lib_file)
689-
if os.path.isfile(lib_file_path) and not lib_file.endswith(".a"):
689+
if os.path.isfile(lib_file_path) and \
690+
not lib_file.endswith((".a", ".dylib",)):
690691
os.unlink(os.path.join(self.protobuf_lib, lib_file))
691692

692693
def fix_compiler(self):

0 commit comments

Comments
 (0)