]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in: file_magic check would not avoid cyclic links.
authorFrank Ch. Eigler <fche@cygnus.com>
Tue, 25 May 1999 17:26:35 +0000 (17:26 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Tue, 25 May 1999 17:26:35 +0000 (17:26 +0000)
ChangeLog
ltmain.in

index 5b35d20e06c2b9cd2951da4c8e2d3af65defb49d..ef5b30ccb65c99550d87f209e545eb2d120b1e7a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+1999-05-25  Frank Ch. Eigler <fche@cygnus.com>
+
+       * ltmain.in: file_magic check would not avoid cyclic links.
+
 1999-05-25  Alexandre Oliva  <oliva@dcc.unicamp.br>
 
        * depdemo/main.c, depdemo/l1/l1.c, depdemo/l2/l2.c: K&R-ize.
index 9f4040973d614063cfe43a191bc17b5e701918c6..bb53950d525c2a02f9e74b08fbad8d0f17b9adfa 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -2061,7 +2061,7 @@ EOF
                    potential_libs=`ls $i/$libname[.-]* 2>/dev/null`
                    for potent_lib in $potential_libs; do
                      # Follow soft links.
-                     if ls -lLd "$potlib" 2>/dev/null \
+                     if ls -lLd "$potent_lib" 2>/dev/null \
                         | grep " -> " >/dev/null; then
                        continue 
                      fi