From f2fb45b7813c0082436cedbd488174d2fc183b62 Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 17 Oct 2005 14:06:26 +0000 Subject: [PATCH] * ltmain.in [darwin]: Don't check for "bundle" in file path. Reported by Christoph Egger . --- ChangeLog | 5 +++++ ltmain.in | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 71082b3ea..d2f3ea1c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-10-17 Ralf Wildenhues + + * ltmain.in [darwin]: Don't check for "bundle" in file path. + Reported by Christoph Egger . + 2005-10-13 Peter O'Gorman * libltdl/ltdl.c (find_module): Check that dir is set. diff --git a/ltmain.in b/ltmain.in index c1b3ddc18..d4547c910 100644 --- 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 -- 2.47.3