summaryrefslogtreecommitdiff
path: root/modules/upnp/SCsub
diff options
context:
space:
mode:
authorFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-06-30 17:31:51 +0200
committerFabio Alessandrelli <fabio.alessandrelli@gmail.com>2019-06-30 17:49:40 +0200
commit78907d91f140dd047a2eebb2736ed1762897003d (patch)
treee37b710db8743d64e2ef774a889dec07fad7bbcb /modules/upnp/SCsub
parente2bbf2cba3dc97998cff0be5cbda2d7e3b7151b0 (diff)
Update miniupnpc library to latest master
Diffstat (limited to 'modules/upnp/SCsub')
-rw-r--r--modules/upnp/SCsub3
1 files changed, 2 insertions, 1 deletions
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()