aboutsummaryrefslogtreecommitdiffstats
path: root/tests/Makefile
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2014-04-25 10:03:59 +0200
committerWilmer van der Gaast <wilmer@gaast.net>2014-04-25 10:03:59 +0200
commit7b05842983ffb53f99d88ae778bffd035b87c613 (patch)
treef3ac8daae011efa0e60bc4464b6228e445fbe321 /tests/Makefile
parentb4008a52254debf3a2c348c9e4a710d3bb8dc8ec (diff)
parent6a6d7d8f10fb72b195cef814e473917d984023b4 (diff)
Merging test suite fixes from Jelmer.
Diffstat (limited to 'tests/Makefile')
-rw-r--r--tests/Makefile5
1 files changed, 3 insertions, 2 deletions
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: