libtool 2 (the latest available from CVS) prefixes
output lines with libtool: compile: . The two lines
prefixed with + have to be added to exec_orig in
libtool-cache.pl:
--- libtool-cache.pl 24 Feb 2005 22:03:29 -0000 1.7
+++ libtool-cache.pl 19 Mar 2005 13:38:28 -0000
@@ -119,6 +119,8 @@ sub exec_orig($) {
open LIBTOOL,"${origscript} $cmd|" or die
('Original libtool failed');
LINE: while (defined(my $l = <LIBTOOL>)) {
chomp($l);
+ # libtool 2 prefixes output messages
with progname and mode
+ $l =~ s/^libtool.orig: ((compile|link):
*)?//;
next LINE if $l eq 'mkdir .libs';
next LINE if $l =~ /^generating symbol
list/;
message("libtool output: $l");
This change should appear in the next release of
libtool-cache.
Patch for libtool-cache.pl