ChangeLog:
authorAlexandre Oliva <aoliva@redhat.com>
Tue, 4 Jul 2006 20:31:03 +0000 (20:31 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 4 Jul 2006 20:31:03 +0000 (20:31 +0000)
* ltconfig: chmod 644 before ranlib during install.
libiberty/ChangeLog:
* Makefile.in: chmod 644 before ranlib during install.

ChangeLog
libiberty/ChangeLog
libiberty/Makefile.in
ltconfig

index dc6494cc04b57e8c17bb27a56e658a53f43dd62e..52ea2c6a5053c8d49450db970e155d2c76f28eb1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-04  Peter O'Gorman  <peter@pogma.com>
+
+       * ltconfig: chmod 644 before ranlib during install.
+
 2006-07-03  Paolo Bonzini  <bonzini@gnu.org>
 
        * configure.in: Fix thinkos in previous check-in.
index 93f8449f65bab4ed9cbab4bae19f0993e9bab16c..00c3089f8c7930b4fbbde8463da8d703e89e8552 100644 (file)
@@ -1,3 +1,7 @@
+2006-07-04  Peter O'Gorman  <peter@pogma.com>
+
+       * Makefile.in: chmod 644 before ranlib during install.
+
 2006-06-02  Mark Shinwell  <shinwell@codesourcery.com>
 
        * pex-unix.c (pex_unix_exec_child): Insert cast when assigning
index 95a82784b0b7b32566910fb323100b0f52cf2ff2..a579d798fcad8140923a650d156758051bda45ae 100644 (file)
@@ -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
 
index 15f986c76d13c250618023e552a54d6fec909fb9..8570aa17b72c8ca705b3889a9f0228ae2a41c677 100755 (executable)
--- 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.