From: Mathieu Lirzin Date: Thu, 14 Sep 2017 19:01:19 +0000 (+0200) Subject: Revert "automake: Handle LTLIBOBJS more specifically" X-Git-Tag: v1.16~31^2~6 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=274590d84cf18c4cdbab10b59072169f07c13256;p=thirdparty%2Fautomake.git Revert "automake: Handle LTLIBOBJS more specifically" This reverts commit 5521219348c55af354878583b99c5f9d66d6d38a. --- 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 {