build: Install shared library with 755 permission

The Makefile should install the shared library with 755 permission
rather than 644. That's standard practice, and required when building
RPMs on Fedora to get a debuginfo package.
This commit is contained in:
Eric Smith 2010-01-30 22:13:18 +01:00 committed by Guillem Jover
parent 11f2c32df2
commit cd730a02c3

View File

@ -177,7 +177,7 @@ install: libs man
mkdir -p $(DESTDIR)$(mandir)/man3
mkdir -p $(DESTDIR)$(pkgconfigdir)
install -m644 $(LIB_STATIC) $(DESTDIR)$(usrlibdir)
install -m644 $(LIB_SHARED) $(DESTDIR)$(libdir)
install -m755 $(LIB_SHARED) $(DESTDIR)$(libdir)
for i in $(LIB_INCLUDES); do \
install -m644 include/$$i $(DESTDIR)$(includedir)/$$i; \
done