From 6a6d7d8f10fb72b195cef814e473917d984023b4 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 20 Apr 2014 19:00:48 +0200 Subject: Fix building of testsuite. --- tests/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/Makefile b/tests/Makefile index 12ba8497..d77fb1d1 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -3,9 +3,10 @@ ifdef _SRCDIR_ _SRCDIR_ := $(_SRCDIR_)tests/ endif -LFLAGS +=-lcheck +CFLAGS += $(shell pkg-config --cflags check) +LFLAGS += $(shell pkg-config --libs check) -all: check +all: check ./check $(CHECKFLAGS) clean: -- cgit v1.2.3