[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit dc4aac95dbc417bc975fcb6ad61f7df565ac785c
Author: Robert Ransom <rransom.8774@xxxxxxxxx>
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
     }
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits