star-meteo

Time varying meteorological data
git clone git://git.meso-star.fr/star-meteo.git
Log | Files | Refs | README | LICENSE

commit e04ac3150384bd772713726f91f912c92552aa06
parent 64fdc28f6ebcfeda2e4a84e385058449925e44da
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 13 Nov 2025 16:44:33 +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 @@ -151,7 +151,8 @@ install: library util pkg $(PLUGIN) cp "$$@" "$${prefix}"; \ chmod "$${mode}" "$${prefix}/$${@##*/}"; \ }; \ - install 755 "$(DESTDIR)$(LIBPREFIX)" $(LIBNAME); \ + if [ "$(LIB_TYPE)" = "STATIC" ]; then mode=644; else mode=755; fi; \ + install "$${mode}" "$(DESTDIR)$(LIBPREFIX)" $(LIBNAME); \ install 644 "$(DESTDIR)$(LIBPREFIX)/pkgconfig" smeteo.pc; \ install 644 "$(DESTDIR)$(INCPREFIX)/star" src/smeteo.h; \ install 755 "$(DESTDIR)$(BINPREFIX)/" smeteo; \