mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-23 05:41:24 -05:00
fixed up nogui for new rsaccounts stuff.
added missing OSX make stuff. git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.6-initdev@7075 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
82b50d3b46
commit
7ca3ed78ae
@ -2,7 +2,7 @@ TEMPLATE = app
|
||||
TARGET = retroshare-nogui
|
||||
CONFIG += bitdht
|
||||
#CONFIG += introserver
|
||||
CONFIG += sshserver
|
||||
#CONFIG += sshserver
|
||||
CONFIG -= qt xml gui
|
||||
|
||||
# if you are linking against the libretroshare with gxs.
|
||||
@ -107,6 +107,19 @@ macx {
|
||||
# CONFIG += ppc x86
|
||||
|
||||
LIBS += -Wl,-search_paths_first
|
||||
|
||||
LIBS += ../../libretroshare/src/lib/libretroshare.a
|
||||
LIBS += ../../openpgpsdk/src/lib/libops.a -lbz2
|
||||
LIBS += -lssl -lcrypto -lz
|
||||
LIBS += ../../../miniupnpc-1.0/libminiupnpc.a
|
||||
LIBS += -framework CoreFoundation
|
||||
LIBS += -framework Security
|
||||
|
||||
gxs {
|
||||
# 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
|
||||
LIBS += ../../../lib/libsqlcipher.a
|
||||
}
|
||||
}
|
||||
|
||||
##################################### FreeBSD ######################################
|
||||
|
@ -237,15 +237,7 @@ int main(int argc, char **argv)
|
||||
RsControl *rsServer = createRsControl(*notify);
|
||||
rsicontrol = rsServer ;
|
||||
|
||||
std::string preferredId, gpgId, gpgName, gpgEmail, sslName;
|
||||
RsInit::getPreferedAccountId(preferredId);
|
||||
|
||||
if (RsInit::getAccountDetails(preferredId, gpgId, gpgName, gpgEmail, sslName))
|
||||
{
|
||||
RsInit::SelectGPGAccount(gpgId);
|
||||
}
|
||||
|
||||
/* Key + Certificate are loaded into libretroshare */
|
||||
/* PreferredId => Key + Certificate are loaded into libretroshare */
|
||||
|
||||
std::string error_string ;
|
||||
int retVal = RsInit::LockAndLoadCertificates(false,error_string);
|
||||
|
Loading…
Reference in New Issue
Block a user