summaryrefslogtreecommitdiff
path: root/platform/linuxbsd/SCsub
diff options
context:
space:
mode:
Diffstat (limited to 'platform/linuxbsd/SCsub')
-rw-r--r--platform/linuxbsd/SCsub3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/linuxbsd/SCsub b/platform/linuxbsd/SCsub
index ddc698a55b..46714e9502 100644
--- a/platform/linuxbsd/SCsub
+++ b/platform/linuxbsd/SCsub
@@ -16,6 +16,9 @@ common_x11 = [
"key_mapping_x11.cpp",
]
+if "udev" in env and env["udev"]:
+ common_x11.append("libudev-so_wrap.c")
+
prog = env.add_program("#bin/godot", ["godot_linuxbsd.cpp"] + common_x11)
if env["debug_symbols"] and env["separate_debug_symbols"]: