aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-09-24 19:39:38 -0400
committerBen Myers <bpm@sgi.com>2012-10-24 16:42:13 -0500
commit4d24630983e9dcce028ead54e064b9bb8e17d534 (patch)
treea21f130ddacf16bdebff4af27eabf769fd502945
parent1d5a48cc3379b5a1f4a9f2dc5873de6b9c4a81af (diff)
downloadxfsdump-dev-4d24630983e9dcce028ead54e064b9bb8e17d534.tar.gz
xfsdump: install shared libs with +x bits
These are shared libs w/executable code, so make sure they have +x bits set on them. Some kernels will proactively disallow executable mmaps if the files lack +x bits. It's also the right thing to do. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Reviewed-by: Ben Myers <bpm@sgi.com> Signed-off-by: Ben Myers <bpm@sgi.com>
-rw-r--r--include/buildmacros2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/buildmacros b/include/buildmacros
index 94b0bb85..cdbdb7fb 100644
--- a/include/buildmacros
+++ b/include/buildmacros
@@ -58,7 +58,7 @@ ifeq ($(ENABLE_SHARED),yes)
INSTALL_LTLIB = \
cd $(TOPDIR)/$(LIBNAME)/.libs; \
../$(INSTALL) -m 755 -d $(PKG_ROOT_LIB_DIR); \
- ../$(INSTALL) -m 644 -T so_dot_version $(LIBNAME).lai $(PKG_ROOT_LIB_DIR); \
+ ../$(INSTALL) -m 755 -T so_dot_version $(LIBNAME).lai $(PKG_ROOT_LIB_DIR); \
../$(INSTALL) -T so_dot_current $(LIBNAME).lai $(PKG_ROOT_LIB_DIR)
endif