From: Frank Ch. Eigler Date: Tue, 25 May 1999 17:26:35 +0000 (+0000) Subject: * ltmain.in: file_magic check would not avoid cyclic links. X-Git-Tag: release-1-3b~50 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49723f5acd642337eb78c43963747d1428649192;p=thirdparty%2Flibtool.git * ltmain.in: file_magic check would not avoid cyclic links. --- diff --git a/ChangeLog b/ChangeLog index 5b35d20e0..ef5b30ccb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +1999-05-25 Frank Ch. Eigler + + * ltmain.in: file_magic check would not avoid cyclic links. + 1999-05-25 Alexandre Oliva * depdemo/main.c, depdemo/l1/l1.c, depdemo/l2/l2.c: K&R-ize. diff --git a/ltmain.in b/ltmain.in index 9f4040973..bb53950d5 100644 --- 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