We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db9061e commit 8d97ed4Copy full SHA for 8d97ed4
lib/cpy_distutils.py
@@ -686,7 +686,8 @@ def _finalize_protobuf(self):
686
"".format(self.protobuf_lib))
687
for lib_file in os.listdir(self.protobuf_lib):
688
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"):
+ if os.path.isfile(lib_file_path) and \
690
+ not lib_file.endswith((".a", ".dylib",)):
691
os.unlink(os.path.join(self.protobuf_lib, lib_file))
692
693
def fix_compiler(self):
0 commit comments