Skip to content
Snippets Groups Projects
Commit 62ab5d05 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

android: enable using nat-pmp

Change-Id: I08c68d10513dc6267571d8bc466df1763191f6b8
parent 8f2b6d3f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment