Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 1ad4a6e

Browse files
glandiumJason Evans
authored and
Jason Evans
committed
Add missing $(EXE) to filter TESTS_UNIT_AUX_OBJS
1 parent f41f143 commit 1ad4a6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ define make-unit-link-dep
213213
$(1): TESTS_UNIT_LINK_OBJS += $(2)
214214
$(1): $(2)
215215
endef
216-
$(foreach test, $(TESTS_UNIT:$(srcroot)test/unit/%.c=$(objroot)test/unit/%$(EXE)), $(eval $(call make-unit-link-dep,$(test),$(filter $(test:%=%_a.$(O)) $(test:%=%_b.$(O)),$(TESTS_UNIT_AUX_OBJS)))))
216+
$(foreach test, $(TESTS_UNIT:$(srcroot)test/unit/%.c=$(objroot)test/unit/%$(EXE)), $(eval $(call make-unit-link-dep,$(test),$(filter $(test:%$(EXE)=%_a.$(O)) $(test:%$(EXE)=%_b.$(O)),$(TESTS_UNIT_AUX_OBJS)))))
217217
$(TESTS_INTEGRATION_OBJS): CPPFLAGS += -DJEMALLOC_INTEGRATION_TEST
218218
$(TESTS_STRESS_OBJS): CPPFLAGS += -DJEMALLOC_STRESS_TEST
219219
$(TESTS_OBJS): $(objroot)test/%.$(O): $(srcroot)test/%.c

0 commit comments

Comments
 (0)