star-cem

Compute the position of the sun
git clone git://git.meso-star.fr/star-cem.git
Log | Files | Refs | README | LICENSE

commit c2d62d4c323bea5015569299f4556797a51c30b5
parent e9d94bca94e3d4b509ca9268645e8ea0ef08118d
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 13 Nov 2025 16:14:14 +0100

Update access rights to the static library

Once it has been installed, the static library was executable, as if it
was a shared object. Remove the execution rights since it is not
necessary.

Diffstat:
MMakefile | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -117,7 +117,8 @@ install: library util pkg chmod "$${mode}" "$${prefix}/$${i##*/}"; \ done; \ }; \ - install 755 "$(DESTDIR)$(LIBPREFIX)" $(LIBNAME); \ + if [ "$(LIB_TYPE)" = "STATIC" ]; then mode=644; else mode = 755; fi; \ + install "$${mode}" "$(DESTDIR)$(LIBPREFIX)" $(LIBNAME); \ install 755 "$(DESTDIR)$(BINPREFIX)" scem; \ install 644 "$(DESTDIR)$(MANPREFIX)/man1" doc/scem.1; \ install 644 "$(DESTDIR)$(LIBPREFIX)/pkgconfig" scem.pc; \