summaryrefslogtreecommitdiff
path: root/build-aux/Makefile.each.tail
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-10-31 12:10:09 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-10-31 12:10:09 -0400
commit88ba8d4c5f1edc74a609b6cdc21ffb2f80752d4b (patch)
tree544a11f42978fd061140fd359022bc360630f06b /build-aux/Makefile.each.tail
parentc17baf9504ea4780d7a0adc38a4d443ecc6e09f8 (diff)
fix
Diffstat (limited to 'build-aux/Makefile.each.tail')
-rw-r--r--build-aux/Makefile.each.tail/50-sd.mk2
1 files changed, 2 insertions, 0 deletions
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