From 78907d91f140dd047a2eebb2736ed1762897003d Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Sun, 30 Jun 2019 17:31:51 +0200 Subject: Update miniupnpc library to latest master --- modules/upnp/SCsub | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/upnp/SCsub') diff --git a/modules/upnp/SCsub b/modules/upnp/SCsub index 6d669ab73b..ec1d7f44d5 100644 --- a/modules/upnp/SCsub +++ b/modules/upnp/SCsub @@ -23,10 +23,11 @@ if env['builtin_miniupnpc']: "portlistingparse.c", "upnpreplyparse.c", ] - thirdparty_sources = [thirdparty_dir + file for file in thirdparty_sources] + thirdparty_sources = [thirdparty_dir + "miniupnpc/" + file for file in thirdparty_sources] env_upnp.Prepend(CPPPATH=[thirdparty_dir]) env_upnp.Append(CPPFLAGS=["-DMINIUPNP_STATICLIB"]) + env_upnp.Append(CPPFLAGS=["-DMINIUPNPC_SET_SOCKET_TIMEOUT"]) env_thirdparty = env_upnp.Clone() env_thirdparty.disable_warnings() -- cgit v1.2.3