Browse Source

System-provided ENet warning

Warning from documentation: https://github.com/godotengine/godot/tree/master/thirdparty#enet
superherointj 2 months ago
parent
commit
24f23c5cdb
1 changed files with 3 additions and 0 deletions
  1. 3 0
      platform/linuxbsd/detect.py

+ 3 - 0
platform/linuxbsd/detect.py

@@ -244,6 +244,9 @@ def configure(env: "SConsEnvironment"):
 
     if not env["builtin_enet"]:
         env.ParseConfig("pkg-config libenet --cflags --libs")
+        print_warning(
+            "System-provided ENet has its functionality limited to IPv4 only and no DTLS support, unless patched for Godot."
+        )
 
     if not env["builtin_zstd"]:
         env.ParseConfig("pkg-config libzstd --cflags --libs")