Don't install the pkg-config file as readonly

This file should be installed just as any other file, protected by
normal user permissions, not by making the file readonly.
This commit is contained in:
Martin Storsjö 2015-01-02 21:52:36 +02:00
parent 3901045318
commit a24bac34bd

View File

@ -237,7 +237,7 @@ install-shared: $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) install-headers $
cp -a $(LIBPREFIX)$(PROJECT_NAME).$(SHAREDLIBSUFFIX) $(SHAREDLIB_DIR); \
fi
mkdir -p $(PREFIX)/lib/pkgconfig
install -m 444 $(PROJECT_NAME).pc $(PREFIX)/lib/pkgconfig
install -m 644 $(PROJECT_NAME).pc $(PREFIX)/lib/pkgconfig
ifneq ($(EXTRA_LIBRARY),)
install -m 644 $(EXTRA_LIBRARY) $(PREFIX)/lib
endif