]> granicus.if.org Git - vnstat/commitdiff
fix test linking issues found in Ubuntu 14.04
authorTeemu Toivola <git@humdi.net>
Sat, 1 Mar 2014 12:44:41 +0000 (14:44 +0200)
committerTeemu Toivola <git@humdi.net>
Sat, 1 Mar 2014 12:44:41 +0000 (14:44 +0200)
tests/Makefile

index 931d2d520275e0987f637583bf6b53b4b37cdb5d..d4fd93acd13baa8613e92cf8841458fce6473a4f 100644 (file)
@@ -1,6 +1,6 @@
 CC = gcc
 CFLAGS = -Wall -Wextra -g -I../src
-LDLIBS = -lm -lcheck
+LDLIBS = -lm -lcheck -lrt -lpthread
 OBJS = vnstat_tests.o common_tests.o database_tests.o config_tests.o ifinfo_tests.o misc_tests.o
 OBJS += common.o ifinfo.o dbaccess.o dbcache.o cfg.o misc.o
 VPATH = ../src