summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Lirzin <mthl@gnu.org>2017-09-14 21:01:19 +0200
committerMathieu Lirzin <mthl@gnu.org>2017-09-14 21:08:51 +0200
commit274590d84cf18c4cdbab10b59072169f07c13256 (patch)
tree6c3587c34df0771c192efa13ee4ed482c03549d5
parente94c0186d98d70df2f18c17622ee75f80f95e17b (diff)
downloadautomake-274590d84cf18c4cdbab10b59072169f07c13256.tar.gz
Revert "automake: Handle LTLIBOBJS more specifically"
This reverts commit 5521219348c55af354878583b99c5f9d66d6d38a.
-rw-r--r--bin/automake.in5
1 files 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
{