diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-02-17 13:40:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 13:40:15 +0100 |
commit | ab4f5c0668d2c90055f66f9fde98b4deecb19128 (patch) | |
tree | ba9044d6ec89164cc74116b578358798ec0ea50c /platform/linuxbsd/SCsub | |
parent | fa24c99a5c0454586313958a04375ab63ac7d544 (diff) | |
parent | a10c259c1d89fbce2d0e05ac60ac5c78d431c070 (diff) |
Merge pull request #46117 from akien-mga/dynamic-load-libudev
Dynamically load libudev.so.1 on Linux
Diffstat (limited to 'platform/linuxbsd/SCsub')
-rw-r--r-- | platform/linuxbsd/SCsub | 3 |
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"]: |