add missing deps on server object files when building check binaries

This commit is contained in:
James F. Carter
2016-10-05 12:51:58 +01:00
parent 35d3340708
commit a744965c67

View File

@@ -92,7 +92,7 @@ CHECK_OBJ := $(CHECK_SRC:tests/unit/%.c=build/%.o)
CHECK_BINS := $(CHECK_SRC:tests/unit/%.c=build/%)
build/check_%: build/check_%.o
$(LINK) $^ -o $@ $(COMMON_OBJ) -lcheck
$(LINK) $^ -o $@ $(COMMON_OBJ) $(SERVER_OBJ) -lcheck
check_objs: $(CHECK_OBJ)