From 274590d84cf18c4cdbab10b59072169f07c13256 Mon Sep 17 00:00:00 2001 From: Mathieu Lirzin Date: Thu, 14 Sep 2017 21:01:19 +0200 Subject: [PATCH] Revert "automake: Handle LTLIBOBJS more specifically" This reverts commit 5521219348c55af354878583b99c5f9d66d6d38a. --- bin/automake.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/automake.in b/bin/automake.in index 3433d3de7..4294736aa 100644 --- a/bin/automake.in +++ b/bin/automake.in @@ -2358,8 +2358,9 @@ sub handle_LIBOBJS_or_ALLOCA if $relative_dir ne '.'; define_variable ('LIBOBJDIR', "$dir", INTERNAL); $clean_files{"\$($var)"} = MOSTLY_CLEAN; - # libtool might create LIBOBJS as a side-effect of using LTLIBOBJS. - $clean_files{"\$(LIBOBJS)"} = MOSTLY_CLEAN if $var eq "LTLIBOBJS"; + # libtool might create LIBOBJS or ALLOCA as a side-effect of using + # LTLIBOBJS or LTALLOCA. + $clean_files{"\$($var)"} = MOSTLY_CLEAN if $var =~ s/^LT//; } else { -- 2.47.2