diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-31 12:10:09 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-10-31 12:10:09 -0400 |
commit | 88ba8d4c5f1edc74a609b6cdc21ffb2f80752d4b (patch) | |
tree | 544a11f42978fd061140fd359022bc360630f06b /build-aux | |
parent | c17baf9504ea4780d7a0adc38a4d443ecc6e09f8 (diff) |
fix
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/Makefile.each.tail/50-sd.mk | 2 | ||||
-rw-r--r-- | build-aux/Makefile.once.head/10-lt.mk | 2 | ||||
-rw-r--r-- | build-aux/Makefile.once.head/30-am.mk | 2 |
3 files changed, 4 insertions, 2 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 diff --git a/build-aux/Makefile.once.head/10-lt.mk b/build-aux/Makefile.once.head/10-lt.mk index 2841bfe214..ea7323b647 100644 --- a/build-aux/Makefile.once.head/10-lt.mk +++ b/build-aux/Makefile.once.head/10-lt.mk @@ -43,7 +43,7 @@ _lt.dedup = $(if $1,$(if $(filter $(firstword $1),$(call _lt.rest,$1)),,$(firstw # Insert a .la library's dependency_libs after the library itself in the list. _lt.dependency_libs = $(foreach _lt.tmp,$1,$(_lt.tmp)$(if $(filter %.la,$(_lt.tmp)), $(shell . $(_lt.tmp); echo $$dependency_libs))) - lt.lib.rpath = $(dir $(filter %/$(@F),$(files.sys)) + lt.lib.rpath = $(dir $(filter %/$(@F),$(files.sys))) lt.lib.files.all = $(filter %.lo %.la -l%,$(call _lt.unLIBPATTERNS,$^)) lt.lib.files.ld = $(strip $(if $(lt.lib.rpath),\ $(lt.lib.files.all),\ diff --git a/build-aux/Makefile.once.head/30-am.mk b/build-aux/Makefile.once.head/30-am.mk index 82c01fbc22..5427e8004d 100644 --- a/build-aux/Makefile.once.head/30-am.mk +++ b/build-aux/Makefile.once.head/30-am.mk @@ -250,7 +250,7 @@ endef # Utility functions _am.sys2dirs = $(sort $(patsubst %/,%,$(dir $(foreach p,$(_am.primaries),$(am.sys_$p))))) -_am.pass3 = $(eval $(foreach d,$(_am.sys2dirs) ,$(call _am.per_directory,$d)$(at.nl))) +_am.pass4 = $(eval $(foreach d,$(_am.sys2dirs) ,$(call _am.per_directory,$d)$(at.nl))) define _am.per_directory $$(DESTDIR)$1/%: $$(outdir)/% @$$(NORMAL_INSTALL) |