From 651ce9be457f7059fc11de1cac4ef9054c88dcf0 Mon Sep 17 00:00:00 2001 From: heck Date: Mon, 12 Jul 2021 12:34:13 +0200 Subject: [PATCH] Test: PityTest - Fix linux build --- .gitignore | 2 ++ test/pitytest11/Makefile | 2 +- test/pitytest11/src/PityTree.hh | 1 + test/pitytest11/src/PityTree.hxx | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 8a7f565..3314f2b 100644 --- a/.gitignore +++ b/.gitignore @@ -55,3 +55,5 @@ test_pEpLog_basic /test/test_tofu_one2many /test/test_swarm_group /test/pitytest11/test/pitytest_data/ +/test/test_pEpSQLite +/test/test_swarm_tofu diff --git a/test/pitytest11/Makefile b/test/pitytest11/Makefile index ed6faae..fa093cb 100644 --- a/test/pitytest11/Makefile +++ b/test/pitytest11/Makefile @@ -2,7 +2,7 @@ include ../../Makefile.conf TARGET=src/libPityTest.a LDFLAGS:=-L../../src/ $(LDFLAGS) -L../framework/ -LDLIBS=-lstdc++ -lpEpAdapter -lpEpEngine +LDLIBS=-lstdc++ -lpEpAdapter -lpEpEngine -lpthread -ldl CXXFLAGS:=-std=c++11 -g -I./src $(CXXFLAGS) TEST_EXTRA_OBJS=../framework/utils.o diff --git a/test/pitytest11/src/PityTree.hh b/test/pitytest11/src/PityTree.hh index c1a5bf8..eafa01a 100644 --- a/test/pitytest11/src/PityTree.hh +++ b/test/pitytest11/src/PityTree.hh @@ -10,6 +10,7 @@ #include #include #include +#include namespace pEp { namespace PityTest11 { diff --git a/test/pitytest11/src/PityTree.hxx b/test/pitytest11/src/PityTree.hxx index 8cc6c6f..9215175 100644 --- a/test/pitytest11/src/PityTree.hxx +++ b/test/pitytest11/src/PityTree.hxx @@ -7,6 +7,7 @@ #include "PityTree.hh" #include #include +#include namespace pEp { namespace PityTest11 {