mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
cefa8000a1
commit
c9881d92a6
@ -27,6 +27,7 @@
|
||||
|
||||
#include "util/rsrandom.h"
|
||||
#include "serialiser/rsmsgitems.h"
|
||||
#include "chat/rschatitems.h"
|
||||
|
||||
#include "support.h"
|
||||
#include "rstlvutil.h"
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user