summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-30 23:12:42 +0200
committerGitHub <noreply@github.com>2019-06-30 23:12:42 +0200
commit95cb95e2d1f6f84c7739f50fb973a07d09041398 (patch)
tree10201b3b677e131f7b19871797009a2add8e86ed /modules
parent495fedca55367ce4ba83b2bd89e751c4e6a0bb30 (diff)
parent78907d91f140dd047a2eebb2736ed1762897003d (diff)
Merge pull request #30205 from Faless/upnp/2019_update
Update miniupnpc library
Diffstat (limited to 'modules')
-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()