mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
enable DHT stunner
This commit is contained in:
parent
a9f24c85a0
commit
a7500473eb
@ -12,10 +12,6 @@ DESTDIR = lib
|
|||||||
|
|
||||||
!include("use_libretroshare.pri"):error("Including")
|
!include("use_libretroshare.pri"):error("Including")
|
||||||
|
|
||||||
# the dht stunner is used to obtain RS external ip addr. when it is natted
|
|
||||||
# this system is unreliable and rs supports a newer and better one (asking connected peers)
|
|
||||||
# CONFIG += useDhtStunner
|
|
||||||
|
|
||||||
# treat warnings as error for better removing
|
# treat warnings as error for better removing
|
||||||
#QMAKE_CFLAGS += -Werror
|
#QMAKE_CFLAGS += -Werror
|
||||||
#QMAKE_CXXFLAGS += -Werror
|
#QMAKE_CXXFLAGS += -Werror
|
||||||
|
@ -111,6 +111,12 @@ no_direct_chat:CONFIG -= direct_chat
|
|||||||
CONFIG *= bitdht
|
CONFIG *= bitdht
|
||||||
no_bitdht:CONFIG -= bitdht
|
no_bitdht:CONFIG -= bitdht
|
||||||
|
|
||||||
|
# The DHT stunner is used to determine the NAT type using other RS DHT peers and the STUN (Session Traversal Utilities for NAT) protocol.
|
||||||
|
# To disable DHT stunner append the following assignation to qmake command line
|
||||||
|
# "CONFIG+=no_useDhtStunner"
|
||||||
|
CONFIG *= useDhtStunner
|
||||||
|
no_useDhtStunner:CONFIG -= useDhtStunner
|
||||||
|
|
||||||
# To select your MacOsX version append the following assignation to qmake
|
# To select your MacOsX version append the following assignation to qmake
|
||||||
# command line "CONFIG+=rs_macos10.11" where 10.11 depends your version
|
# command line "CONFIG+=rs_macos10.11" where 10.11 depends your version
|
||||||
macx:CONFIG *= rs_macos10.11
|
macx:CONFIG *= rs_macos10.11
|
||||||
|
Loading…
Reference in New Issue
Block a user