|
|
9f3e25 |
commit 02ae6621f28d90b717c679b61cd1d1800d5c69e7
|
|
|
9f3e25 |
Author: Miroslav Lichvar <mlichvar@redhat.com>
|
|
|
9f3e25 |
Date: Mon Dec 13 16:44:16 2010 +0100
|
|
|
9f3e25 |
|
|
|
9f3e25 |
Install shared objects with executable permissions
|
|
|
9f3e25 |
|
|
|
9f3e25 |
diff --git a/autoconf/aclocal.m4 b/autoconf/aclocal.m4
|
|
|
9f3e25 |
index d5eb3f2..b5525cf 100644
|
|
|
9f3e25 |
--- a/autoconf/aclocal.m4
|
|
|
9f3e25 |
+++ b/autoconf/aclocal.m4
|
|
|
9f3e25 |
@@ -578,7 +578,7 @@ ELFLIB_MAJOR_MINOR_MICRO="\$(ELFLIB_MAJOR_MINOR).\$(ELF_MICRO_VERSION)"
|
|
|
9f3e25 |
dnl# This specifies the target to use in the makefile to install the shared library
|
|
|
9f3e25 |
INSTALL_ELFLIB_TARGET="install-elf-and-links"
|
|
|
9f3e25 |
ELFLIB_BUILD_NAME="\$(ELFLIB_MAJOR_MINOR_MICRO)"
|
|
|
9f3e25 |
-INSTALL_MODULE="\$(INSTALL_DATA)"
|
|
|
9f3e25 |
+INSTALL_MODULE="\$(INSTALL)"
|
|
|
9f3e25 |
SLANG_DLL_CFLAGS=""
|
|
|
9f3e25 |
M_LIB="-lm"
|
|
|
9f3e25 |
|
|
|
9f3e25 |
diff --git a/modules/Makefile.in b/modules/Makefile.in
|
|
|
9f3e25 |
index 0384359..06b71ec 100644
|
|
|
9f3e25 |
--- a/modules/Makefile.in
|
|
|
9f3e25 |
+++ b/modules/Makefile.in
|
|
|
9f3e25 |
@@ -61,7 +61,7 @@ SOCKET_LIBS = @X_EXTRA_LIBS@
|
|
|
9f3e25 |
MODULE_INSTALL_DIR = @libdir@/slang/v@slang_major_version@/modules
|
|
|
9f3e25 |
INSTALL = @INSTALL@
|
|
|
9f3e25 |
INSTALL_DATA = @INSTALL_DATA@
|
|
|
9f3e25 |
-INSTALL_MODULE = @INSTALL_MODULE@
|
|
|
9f3e25 |
+INSTALL_MODULE = @INSTALL@
|
|
|
9f3e25 |
MKINSDIR = $(CONFIG_DIR)/autoconf/mkinsdir.sh
|
|
|
9f3e25 |
SLSH_DIR = $(prefix)/share/slsh
|
|
|
9f3e25 |
CMAPS_DIR = $(SLSH_DIR)/cmaps
|
|
|
9f3e25 |
diff --git a/src/Makefile.in b/src/Makefile.in
|
|
|
9f3e25 |
index 03fa056..d2b9f1b 100644
|
|
|
9f3e25 |
--- a/src/Makefile.in
|
|
|
9f3e25 |
+++ b/src/Makefile.in
|
|
|
9f3e25 |
@@ -195,7 +195,7 @@ install-elf-and-links:
|
|
|
9f3e25 |
-$(RM) $(DEST_LIBDIR)/$(ELFLIB)
|
|
|
9f3e25 |
-$(RM) $(DEST_LIBDIR)/$(ELFLIB_MAJOR)
|
|
|
9f3e25 |
@echo installing $(ELFLIB_BUILD_NAME) in $(DEST_LIBDIR)
|
|
|
9f3e25 |
- $(INSTALL_DATA) $(ELFDIR_ELF_LIB) $(DEST_LIBDIR)/
|
|
|
9f3e25 |
+ $(INSTALL) $(ELFDIR_ELF_LIB) $(DEST_LIBDIR)/
|
|
|
9f3e25 |
-cd $(DEST_LIBDIR) && $(LN) $(ELFLIB_BUILD_NAME) $(ELFLIB_MAJOR)
|
|
|
9f3e25 |
-cd $(DEST_LIBDIR) && $(LN) $(ELFLIB_MAJOR) $(ELFLIB)
|
|
|
9f3e25 |
@echo ""
|