ソースを参照

System-provided ENet warning

Warning from documentation: https://github.com/godotengine/godot/tree/master/thirdparty#enet
superherointj 2 ヶ月 前
コミット
24f23c5cdb
1 ファイル変更3 行追加0 行削除
  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"]:
     if not env["builtin_enet"]:
         env.ParseConfig("pkg-config libenet --cflags --libs")
         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"]:
     if not env["builtin_zstd"]:
         env.ParseConfig("pkg-config libzstd --cflags --libs")
         env.ParseConfig("pkg-config libzstd --cflags --libs")