summaryrefslogtreecommitdiff
path: root/modules/upnp/SCsub
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2021-11-19 12:00:37 +0100
committerRémi Verschelde <rverschelde@gmail.com>2021-11-19 12:00:37 +0100
commit432ac521ef50ca41a81cffc1770cb46f72a422f6 (patch)
treebe637a1ac10bf6c248a28880a3b9352ae47e5ecf /modules/upnp/SCsub
parenta777f01052161f0ea3b1344e605ac4222498395c (diff)
miniupnpc: Update to version 2.2.3
Library code and public headers are now properly separated, we can fix include paths to remove the redundant subfolder.
Diffstat (limited to 'modules/upnp/SCsub')
-rw-r--r--modules/upnp/SCsub4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/upnp/SCsub b/modules/upnp/SCsub
index b2fed0cb23..4b385b820d 100644
--- a/modules/upnp/SCsub
+++ b/modules/upnp/SCsub
@@ -26,9 +26,9 @@ if env["builtin_miniupnpc"]:
"receivedata.c",
"addr_is_reserved.c",
]
- thirdparty_sources = [thirdparty_dir + "miniupnpc/" + file for file in thirdparty_sources]
+ thirdparty_sources = [thirdparty_dir + "src/" + file for file in thirdparty_sources]
- env_upnp.Prepend(CPPPATH=[thirdparty_dir])
+ env_upnp.Prepend(CPPPATH=[thirdparty_dir + "include"])
env_upnp.Append(CPPDEFINES=["MINIUPNP_STATICLIB"])
env_upnp.Append(CPPDEFINES=["MINIUPNPC_SET_SOCKET_TIMEOUT"])