summaryrefslogtreecommitdiffstats
path: root/modules/upnp/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'modules/upnp/SCsub')
-rw-r--r--modules/upnp/SCsub2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upnp/SCsub b/modules/upnp/SCsub
index 6657d75cae..ba4a842cb6 100644
--- a/modules/upnp/SCsub
+++ b/modules/upnp/SCsub
@@ -10,7 +10,7 @@ env_upnp = env_modules.Clone()
thirdparty_obj = []
-if env["builtin_miniupnpc"]:
+if env["builtin_miniupnpc"] and env["platform"] != "web":
thirdparty_dir = "#thirdparty/miniupnpc/"
thirdparty_sources = [
"igd_desc_parse.c",