Commit cd730a02c36397e4b962271fa6d9119dc820dd4d

Eric Smith 2010-01-30T22:13:18

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.

1
2
3
4
5
6
7
8
9
10
11
12
13
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