]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* ltmain.in [darwin]: Don't check for "bundle" in file path.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Mon, 17 Oct 2005 14:06:26 +0000 (14:06 +0000)
committerPeter O'Gorman <peter@pogma.com>
Mon, 17 Oct 2005 14:06:26 +0000 (14:06 +0000)
Reported by Christoph Egger <Christoph_Egger@gmx.de>.

ChangeLog
ltmain.in

index 71082b3ea7c3a0d993dbe7fbd6efe455778790b6..d2f3ea1c1ae6e265652cff977638c3348d3a8168 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-10-17  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * ltmain.in [darwin]: Don't check for "bundle" in file path. 
+       Reported by Christoph Egger <Christoph_Egger@gmx.de>.
+
 2005-10-13  Peter O'Gorman  <peter@pogma.com>
 
        * libltdl/ltdl.c (find_module): Check that dir is set.
index c1b3ddc189783df398726d87bc1dc88ed92da43d..d4547c910023f11e653ace4560d1fcd3b7b1f16d 100644 (file)
--- a/ltmain.in
+++ b/ltmain.in
@@ -2565,7 +2565,8 @@ EOF
                  *-*-darwin* )
                    # if the lib is a module then we can not link against
                    # it, someone is ignoring the new warnings I added
-                   if /usr/bin/file -L $add 2> /dev/null | $EGREP "bundle" >/dev/null ; then
+                   if /usr/bin/file -L $add 2> /dev/null |
+                      $EGREP ": [^:]* bundle" >/dev/null ; then
                      $echo "** Warning, lib $linklib is a module, not a shared library"
                      if test -z "$old_library" ; then
                        $echo