From cace8123f44b6841cd4e70c00fc49377f6269484 Mon Sep 17 00:00:00 2001 From: Patrick J Cherry Date: Thu, 13 Oct 2016 16:39:20 +0100 Subject: [PATCH] Link against subunit for testing. This fixes the problems in Debian stretch+. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5626aac..b839419 100644 --- a/Makefile +++ b/Makefile @@ -94,7 +94,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) $(SERVER_OBJ) -lcheck + $(LINK) $^ -o $@ $(COMMON_OBJ) $(SERVER_OBJ) -lcheck -lsubunit check_objs: $(CHECK_OBJ)