original cygwin-shrlib.patch

This commit is contained in:
zimoch
2013-05-23 09:14:54 +00:00
parent 36f4980787
commit c71271157f
3 changed files with 27 additions and 1 deletions

View File

@@ -371,6 +371,7 @@ INSTALL_LIB_INSTALLS = $(addprefix $(INSTALL_LIB)/,$(notdir $(LIB_INSTALLS)))
# Installed file permissions
BIN_PERMISSIONS = 555
LIB_PERMISSIONS = 444
SHRLIB_PERMISSIONS = 555
INSTALL_PERMISSIONS = 444
#---------------------------------------------------------------

View File

@@ -382,7 +382,7 @@ $(INSTALL_LIB)/%.lib: %.lib
$(INSTALL_SHRLIBS): $(INSTALL_SHRLIB)/%: %
$(ECHO) "Installing shared library $@"
@$(INSTALL_LIBRARY) -d -m $(LIB_PERMISSIONS) $< $(INSTALL_SHRLIB)
@$(INSTALL_LIBRARY) -d -m $(SHRLIB_PERMISSIONS) $< $(INSTALL_SHRLIB)
ifneq ($(SHRLIB_SUFFIX),.dll)
ifneq (,$(strip $(SHRLIB_VERSION)))
@$(RM) $(subst .$(SHRLIB_VERSION),,$@)

25
cygwin-shrlib.patch Normal file
View File

@@ -0,0 +1,25 @@
=== modified file 'configure/CONFIG_COMMON'
--- configure/CONFIG_COMMON 2012-05-01 15:15:45 +0000
+++ configure/CONFIG_COMMON 2012-12-05 20:34:18 +0000
@@ -371,6 +371,7 @@
# Installed file permissions
BIN_PERMISSIONS = 555
LIB_PERMISSIONS = 444
+SHRLIB_PERMISSIONS = 555
INSTALL_PERMISSIONS = 444
#---------------------------------------------------------------
=== modified file 'configure/RULES_BUILD'
--- configure/RULES_BUILD 2012-08-07 15:37:13 +0000
+++ configure/RULES_BUILD 2012-12-05 20:34:18 +0000
@@ -383,7 +383,7 @@
$(INSTALL_SHRLIBS): $(INSTALL_SHRLIB)/%: %
$(ECHO) "Installing shared library $@"
- @$(INSTALL_LIBRARY) -d -m $(LIB_PERMISSIONS) $< $(INSTALL_SHRLIB)
+ @$(INSTALL_LIBRARY) -d -m $(SHRLIB_PERMISSIONS) $< $(INSTALL_SHRLIB)
ifneq ($(SHRLIB_SUFFIX),$(SHRLIB_SUFFIX_BASE))
ifneq (,$(strip $(SHRLIB_VERSION)))
@$(RM) $(subst $(SHRLIB_SUFFIX),$(SHRLIB_SUFFIX_BASE),$@)