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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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