android: enable using nat-pmp

Change-Id: I08c68d10513dc6267571d8bc466df1763191f6b8
This commit is contained in:
Adrien Béraud
2025-02-17 15:05:22 -05:00
parent 8f2b6d3f5a
commit 62ab5d057a
2 changed files with 0 additions and 4 deletions

View File

@ -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 \

View File

@ -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