mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
android: enable using nat-pmp
Change-Id: I08c68d10513dc6267571d8bc466df1763191f6b8
This commit is contained in:
@ -6,14 +6,12 @@ PKGS += dhtnet
|
||||
DEPS_dhtnet += opendht pjproject asio upnp
|
||||
|
||||
ifndef HAVE_WIN32
|
||||
ifndef HAVE_ANDROID
|
||||
ifndef HAVE_IOS
|
||||
ifndef HAVE_MACOSX
|
||||
DEPS_dhtnet += natpmp
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
DHTNET_CONF = -DBUILD_SHARED_LIBS=Off \
|
||||
|
@ -3,12 +3,10 @@ NATPMP_VERSION := 007c3a53165a0551c877130eea4d966885ce19ae
|
||||
NATPMP_URL := https://github.com/miniupnp/libnatpmp/archive/${NATPMP_VERSION}.tar.gz
|
||||
|
||||
ifndef HAVE_WIN32
|
||||
ifndef HAVE_ANDROID
|
||||
ifndef HAVE_IOS
|
||||
PKGS += natpmp
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(call need_pkg,'libnatpmp'),)
|
||||
PKGS_FOUND += natpmp
|
||||
|
Reference in New Issue
Block a user