From 148d00794d9def770274eba7d42750d2aace7cd5 Mon Sep 17 00:00:00 2001 From: Alexander Treml Date: Wed, 2 Jul 2025 14:51:31 +0200 Subject: [PATCH] disable pty on 32-bit windows --- addons/godot_xterm/native/SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/godot_xterm/native/SConstruct b/addons/godot_xterm/native/SConstruct index 15e9c0b..92179d5 100644 --- a/addons/godot_xterm/native/SConstruct +++ b/addons/godot_xterm/native/SConstruct @@ -27,7 +27,7 @@ sources.append([ if env['platform'] == 'linux' or env['platform'] == 'macos': env.Append(LIBS=['util', env.File('thirdparty/libuv/build/libuv_a.a')]) -elif env['platform'] == 'windows': +elif env['platform'] == 'windows' and (env['arch'] == 'x86_64' or env['arch'] == 'amd64'): env.Append(LIBS=['ws2_32.lib', 'Advapi32', 'User32', 'Userenv', 'iphlpapi']) if env["target"] == "template_release": env.Append(LIBS=[env.File('thirdparty/libuv/build/Release/uv_a.lib')])