mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
Merge pull request #2612 from PhenomRetroShare/Fix_MacOS_Build
Fix MacOS build
This commit is contained in:
commit
7521253ea8
@ -47,7 +47,9 @@
|
||||
#include <QTcpSocket>
|
||||
#include <QTimer>
|
||||
|
||||
#ifdef RS_USE_I2P_SAM3
|
||||
#include <libsam3.h>
|
||||
#endif
|
||||
|
||||
#define ICON_STATUS_UNKNOWN ":/images/ledoff1.png"
|
||||
#define ICON_STATUS_WORKING ":/images/yellowled.png"
|
||||
@ -1562,6 +1564,7 @@ void ServerPage::syncI2PProxyAddrSam(QString t)
|
||||
|
||||
void ServerPage::taskFinished(taskTicket *&ticket)
|
||||
{
|
||||
#ifdef RS_USE_I2P_SAM3
|
||||
switch (ticket->task) {
|
||||
case autoProxyTask::receiveKey:
|
||||
{
|
||||
@ -1629,6 +1632,7 @@ void ServerPage::taskFinished(taskTicket *&ticket)
|
||||
|
||||
delete ticket;
|
||||
ticket = nullptr;
|
||||
#endif //RS_USE_I2P_SAM3
|
||||
}
|
||||
|
||||
void ServerPage::connectionWithoutCert()
|
||||
|
@ -140,6 +140,7 @@ rs_macos10.12:CONFIG -= rs_macos10.11
|
||||
rs_macos10.13:CONFIG -= rs_macos10.11
|
||||
rs_macos10.14:CONFIG -= rs_macos10.11
|
||||
rs_macos10.15:CONFIG -= rs_macos10.11
|
||||
rs_macos11.1:CONFIG -= rs_macos10.11
|
||||
|
||||
# To enable JSON API append the following assignation to qmake command line
|
||||
# "CONFIG+=rs_jsonapi"
|
||||
@ -790,6 +791,13 @@ macx-* {
|
||||
QMAKE_CXXFLAGS += -Wno-nullability-completeness
|
||||
QMAKE_CFLAGS += -Wno-nullability-completeness
|
||||
}
|
||||
rs_macos11.1 {
|
||||
message(***retroshare.pri: Set Target and SDK to MacOS 11.1 )
|
||||
QMAKE_MACOSX_DEPLOYMENT_TARGET=11.1
|
||||
QMAKE_MAC_SDK = macosx11.1
|
||||
QMAKE_CXXFLAGS += -Wno-nullability-completeness
|
||||
QMAKE_CFLAGS += -Wno-nullability-completeness
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -798,6 +806,10 @@ macx-* {
|
||||
INCLUDEPATH += "/usr/local/include"
|
||||
RS_UPNP_LIB = miniupnpc
|
||||
QT += macextras
|
||||
INCLUDEPATH += "/usr/local/opt/openssl/include"
|
||||
QMAKE_LIBDIR += "/usr/local/opt/openssl/lib"
|
||||
QMAKE_LIBDIR += "/usr/local/opt/sqlcipher/lib"
|
||||
QMAKE_LIBDIR += "/usr/local/opt/miniupnpc/lib"
|
||||
}
|
||||
|
||||
# If not yet defined attempt UPnP library autodetection should works at least
|
||||
|
Loading…
Reference in New Issue
Block a user