Commit 261cb20a authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

Makefile.cmake.in: fix automatic host deps calculation



We need similar handling as in autotools because of the host-cmake addition.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 5ddfc127
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -96,6 +96,10 @@ endef
endif
endif

# This must be repeated from GENTARGETS_INNER, otherwise we only get
# host-cmake in _DEPENDENCIES because of the following line
$(2)_DEPENDENCIES ?= $(patsubst host-host-%,host-%,$(addprefix host-,$($(3)_DEPENDENCIES)))

$(2)_DEPENDENCIES += host-cmake

#