From 0209016824be206f19e278615bc926aee7b31769 Mon Sep 17 00:00:00 2001 From: a1012112796 <1012112796@qq.com> Date: Sat, 30 Oct 2021 11:29:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=81=BF=E5=85=8D=20.lib=20.a=20=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=A2=AB=E8=AF=AF=E5=88=A0=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: a1012112796 <1012112796@qq.com> --- sharelib.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sharelib.py b/sharelib.py index beb7918..3fb8d82 100644 --- a/sharelib.py +++ b/sharelib.py @@ -187,6 +187,9 @@ class SharelibHandler: if d in reserved_subdir: continue + if d.endswith('.a') or d.endswith('.lib'): + continue + pth = os.path.join(dist_path, d) if os.path.isfile(pth): os.remove(pth)