[tor-commits] [torbrowser/master] [2312 Linux] Don't try to rename libQtCore.so.4.6.2 to both .4 and .4.6

erinn at torproject.org erinn at torproject.org
Sun Oct 23 23:18:31 UTC 2011


commit dc4aac95dbc417bc975fcb6ad61f7df565ac785c
Author: Robert Ransom <rransom.8774 at gmail.com>
Date:   Fri Sep 2 01:59:57 2011 -0400

    [2312 Linux] Don't try to rename libQtCore.so.4.6.2 to both .4 and .4.6
---
 build-scripts/remove-shared-lib-symlinks |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/build-scripts/remove-shared-lib-symlinks b/build-scripts/remove-shared-lib-symlinks
index bba37d8..4692625 100755
--- a/build-scripts/remove-shared-lib-symlinks
+++ b/build-scripts/remove-shared-lib-symlinks
@@ -154,9 +154,12 @@ foreach {x} $shared_lib_filenames {
         # The target has not been renamed yet.  This must be the
         # symlink to the target with the shortest name not of the form
         # lib*.so , and thus it is the name by which the dynamic
-        # loader will attempt to load the library.  Rename it.
+        # loader will attempt to load the library.  Rename the target,
+        # and record that we have renamed it so that we won't try to
+        # rename it again.
         lappend shared_lib_name_actions [list rm $x]
         lappend shared_lib_name_actions [list mv $link_target $x]
+        lappend shared_libs_renamed $link_target
         continue
     }
 





More information about the tor-commits mailing list