From 88ba8d4c5f1edc74a609b6cdc21ffb2f80752d4b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 31 Oct 2016 12:10:09 -0400 Subject: fix --- build-aux/Makefile.each.tail/50-sd.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build-aux/Makefile.each.tail') diff --git a/build-aux/Makefile.each.tail/50-sd.mk b/build-aux/Makefile.each.tail/50-sd.mk index 35b9168570..9917a0ce54 100644 --- a/build-aux/Makefile.each.tail/50-sd.mk +++ b/build-aux/Makefile.each.tail/50-sd.mk @@ -42,10 +42,12 @@ $(outdir)/$(DEPDIR): $(outdir)/%.la: @if test $(words $(lt.lib.files.all)) = 0; then echo 'Cannot link library with no dependencies: $@' >&2; exit 1; fi + @if test $(origin am.LDFLAGS) = undefined; then echo 'Cannot link library with undefined am.LDFLAGS: $@' >&2; exit 1; fi $(AM_V_CCLD)$(sd.LINK) $(if $(lt.lib.rpath),-rpath $(lt.lib.rpath)) $(lt.lib.files.ld) $(AM_V_at)$(lt.lib.post) $(addprefix $(outdir)/,$(am.out_PROGRAMS)): $(outdir)/%: @if test $(words $(lt.exe.files.all)) = 0; then echo 'Cannot link executable with no dependencies: $@' >&2; exit 1; fi + @if test $(origin am.LDFLAGS) = undefined; then echo 'Cannot link executable with undefined am.LDFLAGS: $@' >&2; exit 1; fi $(AM_V_CCLD)$(sd.LINK) $(lt.exe.files.ld) # Stupid test that everything purported to be exported really is -- cgit v1.2.3-54-g00ecf