aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2024-11-21 21:30:28 +0100
committerLoïc Hoguin <[email protected]>2024-11-21 21:30:28 +0100
commitebe31ee0d271642fe7e038df150f11c66ab8aa11 (patch)
tree4dbcf18801b654b09b50c67129b4ddfb18a90b0f /core
parent45c53065ec7d41e46d4eddb4f0c80adb75249bb4 (diff)
downloaderlang.mk-fix-amqp_client.tar.gz
erlang.mk-fix-amqp_client.tar.bz2
erlang.mk-fix-amqp_client.zip
Fix infinite loop when fetching amqp_client deps via Hexfix-amqp_client
Diffstat (limited to 'core')
-rw-r--r--core/deps.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 7819f90..d48ab60 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -830,7 +830,7 @@ define dep_fetch_fail
endef
define dep_target
-$(DEPS_DIR)/$(call query_name,$1): $(if $(filter hex,$(call query_fetch_method,$1)),hex-core) | $(ERLANG_MK_TMP)
+$(DEPS_DIR)/$(call query_name,$1): | $(if $(filter hex,$(call query_fetch_method,$1)),hex-core) $(ERLANG_MK_TMP)
$(eval DEP_NAME := $(call query_name,$1))
$(eval DEP_STR := $(if $(filter $1,$(DEP_NAME)),$1,"$1 ($(DEP_NAME))"))
$(verbose) if test -d $(APPS_DIR)/$(DEP_NAME); then \
@@ -866,6 +866,8 @@ endef
$(if $(filter hex_core,$(DEPS) $(BUILD_DEPS) $(DOC_DEPS) $(REL_DEPS) $(TEST_DEPS)),,\
$(eval $(call dep_target,hex_core)))
+.PHONY: hex-core
+
hex-core: $(DEPS_DIR)/hex_core
$(verbose) if [ ! -e $(DEPS_DIR)/hex_core/ebin/dep_built ]; then \
$(MAKE) -C $(DEPS_DIR)/hex_core IS_DEP=1; \