summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Smith <eric@brouhaha.com>2010-01-30 22:13:18 +0100
committerGuillem Jover <guillem@hadrons.org>2010-01-30 22:13:18 +0100
commitcd730a02c36397e4b962271fa6d9119dc820dd4d (patch)
tree6f4c51e15b697582f148045adeef102ea7600cda
parent11f2c32df2722a758f150fb3242d208904ffdacb (diff)
downloadlibbsd-cd730a02c36397e4b962271fa6d9119dc820dd4d.tar.gz
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.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 258bb0c..d63ac12 100644
--- a/Makefile
+++ b/Makefile
@@ -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