From 6816f9950e15fb2f984cc8fcb3da0d5709574082 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Tue, 4 Jul 2006 20:31:03 +0000 Subject: ChangeLog: * ltconfig: chmod 644 before ranlib during install. libiberty/ChangeLog: * Makefile.in: chmod 644 before ranlib during install. --- ChangeLog | 4 ++++ libiberty/ChangeLog | 4 ++++ libiberty/Makefile.in | 4 ++-- ltconfig | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index dc6494c..52ea2c6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-07-04 Peter O'Gorman + + * ltconfig: chmod 644 before ranlib during install. + 2006-07-03 Paolo Bonzini * configure.in: Fix thinkos in previous check-in. diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 93f8449..00c3089 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,7 @@ +2006-07-04 Peter O'Gorman + + * Makefile.in: chmod 644 before ranlib during install. + 2006-06-02 Mark Shinwell * pex-unix.c (pex_unix_exec_child): Insert cast when assigning diff --git a/libiberty/Makefile.in b/libiberty/Makefile.in index 95a8278..a579d79 100644 --- a/libiberty/Makefile.in +++ b/libiberty/Makefile.in @@ -335,7 +335,7 @@ install: install_to_$(INSTALL_DEST) install-subdir install_to_libdir: all ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR) $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n - ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; $(RANLIB) $(TARGETLIB)n ) + ( cd $(DESTDIR)$(libdir)$(MULTISUBDIR) ; chmod 644 $(TARGETLIB)n ;$(RANLIB) $(TARGETLIB)n ) mv -f $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB)n $(DESTDIR)$(libdir)$(MULTISUBDIR)/$(TARGETLIB) if test -n "${target_header_dir}"; then \ case "${target_header_dir}" in \ @@ -357,7 +357,7 @@ MULTIOSDIR = `$(CC) $(LIBCFLAGS) -print-multi-os-directory` install_to_tooldir: all ${mkinstalldirs} $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n - ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; $(RANLIB) $(TARGETLIB)n ) + ( cd $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR) ; chmod 644 $(TARGETLIB)n; $(RANLIB) $(TARGETLIB)n ) mv -f $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB)n $(DESTDIR)$(tooldir)/lib/$(MULTIOSDIR)/$(TARGETLIB) @$(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install diff --git a/ltconfig b/ltconfig index 15f986c..8570aa1 100755 --- a/ltconfig +++ b/ltconfig @@ -625,7 +625,7 @@ old_postuninstall_cmds= if test -n "$RANLIB"; then old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib" - old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds" + old_postinstall_cmds="~$old_postinstall_cmds~\$RANLIB \$oldlib" fi # Source the script associated with the $tagname tag configuration. -- cgit v1.1