Change permission modes of static libraries to 644 (#2885)

Static libraries are archives and do not need the executable bit.
This commit is contained in:
Integral
2026-04-20 05:13:02 +08:00
committed by GitHub
parent 81034ce1f1
commit 1f44a8b11d

View File

@@ -632,8 +632,8 @@ endif
install_lib_static: $(STATIC_LIBS) install_lib_static: $(STATIC_LIBS)
$(INSTALL) -d $(LIBDIR) $(INSTALL) -d $(LIBDIR)
@for l in $(STATIC_LIBS); do \ @for l in $(STATIC_LIBS); do \
echo "$(INSTALL) -m 755 $$l $(LIBDIR)"; \ echo "$(INSTALL) -m 644 $$l $(LIBDIR)"; \
$(INSTALL) -m 755 $$l $(LIBDIR); \ $(INSTALL) -m 644 $$l $(LIBDIR); \
done done
install_lib_pc: $(PC) install_lib_pc: $(PC)