summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.each.tail
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/Makefile.each.tail')
-rw-r--r--build-aux/Makefile.each.tail/30-automake2autothing.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/Makefile.each.tail/30-automake2autothing.mk b/build-aux/Makefile.each.tail/30-automake2autothing.mk
index 9f63ad0040..3c8918aa7a 100644
--- a/build-aux/Makefile.each.tail/30-automake2autothing.mk
+++ b/build-aux/Makefile.each.tail/30-automake2autothing.mk
@@ -20,13 +20,13 @@ $(foreach t,$(filter %.la,$(std.out_files)),
$(eval $t.DEPENDS += $(call at.path,$(call automake_lo,$t) $(call automake_lib,$t,LIBADD)) )\
$(eval am.CPPFLAGS += $($(call automake_name,$t)_CPPFLAGS) $(call automake_cpp,$t,LIBADD) )\
$(eval am.CFLAGS += $($(call automake_name,$t)_CFLAGS) )\
- $(eval am.LDFLAGS += $($(call automake_name,$t)_LDFLAGS) )\
+ $(eval $t: private ALL_LDFLAGS += $($(call automake_name,$t)_LDFLAGS) )\
$(eval $(outdir)/$t: $($t.DEPENDS) )\
$(eval at.depdirs += $(abspath $(sort $(dir $(filter-out -l% /%,$($t.DEPENDS))))) ))
$(foreach t,$(bin_PROGRAMS) $(libexec_PROGRAMS), \
$(eval $t.DEPENDS += $(call at.path,$(call automake_o,$t) $(call automake_lib,$t,LDADD)) )\
$(eval am.CPPFLAGS += $($(call automake_name,$t)_CPPFLAGS) $(call automake_cpp,$t,LDADD) )\
$(eval am.CFLAGS += $($(call automake_name,$t)_CFLAGS) )\
- $(eval am.LDFLAGS += $($(call automake_name,$t)_LDFLAGS) )\
+ $(eval $t: private ALL_LDFLAGS += $($(call automake_name,$t)_LDFLAGS) )\
$(eval $(outdir)/$t: $($t.DEPENDS) )\
$(eval at.depdirs += $(abspath $(sort $(dir $(filter-out -l% /%,$($t.DEPENDS))))) ))