diff --git a/mk/rt.mk b/mk/rt.mk index 216abcf5f3e..63bfc4e1033 100644 --- a/mk/rt.mk +++ b/mk/rt.mk @@ -288,6 +288,10 @@ JEMALLOC_DEPS := $(wildcard \ $(S)src/jemalloc/*/*/*/*) endif +# See #17183 for details, this file is touched during the build process so we +# don't want to consider it as a dependency. +JEMALLOC_DEPS := $(filter-out $(S)src/jemalloc/VERSION,$(JEMALLOC_DEPS)) + JEMALLOC_NAME_$(1) := $$(call CFG_STATIC_LIB_NAME_$(1),jemalloc) ifeq ($$(CFG_WINDOWSY_$(1)),1) JEMALLOC_REAL_NAME_$(1) := $$(call CFG_STATIC_LIB_NAME_$(1),jemalloc_s)