fixed compilation of unit tests

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7682 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2014-11-15 19:47:59 +00:00
parent cefa8000a1
commit c9881d92a6
3 changed files with 20 additions and 10 deletions

View File

@ -27,6 +27,7 @@
#include "util/rsrandom.h"
#include "serialiser/rsmsgitems.h"
#include "chat/rschatitems.h"
#include "support.h"
#include "rstlvutil.h"

View File

@ -312,13 +312,7 @@ bool GxsPeerNode::createCircle(const std::string &name,
std::cerr << std::endl;
uint32_t token;
if (!mGxsCircles->createGroup(token, grp1))
{
std::cerr << "GxsPeerNode::createCircle() failed";
std::cerr << std::endl;
return false;
}
mGxsCircles->createGroup(token, grp1) ;
while(tokenService->requestStatus(token) != RsTokenService::GXS_REQUEST_V2_STATUS_COMPLETE)
{

View File

@ -30,13 +30,28 @@ linux-* {
LIBS += -lssl -lupnp -lixml -lXss -lgnome-keyring
LIBS *= -lcrypto -ldl -lX11 -lz
gxs {
LIBS += ../../supportlibs/pegmarkdown/lib/libpegmarkdown.a
LIBS += ../../supportlibs/pegmarkdown/lib/libpegmarkdown.a
# We need a explicit path here, to force using the home version of sqlite3 that really encrypts the database.
SQLCIPHER_OK = $$system(pkg-config --exists sqlcipher && echo yes)
isEmpty(SQLCIPHER_OK) {
# We need a explicit path here, to force using the home version of sqlite3 that really encrypts the database.
! exists(../../../lib/sqlcipher/.libs/libsqlcipher.a) {
message(../../../lib/sqlcipher/.libs/libsqlcipher.a does not exist)
error(Please fix this and try again. Will stop now.)
}
# We need a explicit path here, to force using the home version of sqlite3 that really encrypts the database.
LIBS += ../../../lib/sqlcipher/.libs/libsqlcipher.a
INCLUDEPATH += ../../../lib/sqlcipher/src/
INCLUDEPATH += ../../../lib/sqlcipher/tsrc/
} else {
LIBS += -lsqlcipher
}
LIBS *= -lglib-2.0
LIBS *= -rdynamic
DEFINES *= HAVE_XSS # for idle time, libx screensaver extensions