diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-04-24 16:43:55 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-04-24 16:43:55 +0200 |
commit | 4970c52a7a2ffb35ce5d7f5f730305fce18e641f (patch) | |
tree | cb706722e27b307d1fc0eea3af482b87e2a83ff4 /platform/linuxbsd/detect.py | |
parent | 54b0e8123ebd6c2f6d1d0eb547f03907bbd7e9f5 (diff) | |
parent | 628f3b2f7975600dee2ee31fc85ed23d2f34c8ab (diff) | |
download | redot-engine-4970c52a7a2ffb35ce5d7f5f730305fce18e641f.tar.gz |
Merge pull request #75640 from bruvzg/mem_info
[OS] Implement and expose to scripting APIs `get_memory_info` method instead of old `get_free_static_memory`.
Diffstat (limited to 'platform/linuxbsd/detect.py')
-rw-r--r-- | platform/linuxbsd/detect.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/linuxbsd/detect.py b/platform/linuxbsd/detect.py index 0bebd29f89..dadc03685b 100644 --- a/platform/linuxbsd/detect.py +++ b/platform/linuxbsd/detect.py @@ -463,6 +463,9 @@ def configure(env: "Environment"): else: env.Append(LINKFLAGS=["-T", "platform/linuxbsd/pck_embed.legacy.ld"]) + if platform.system() == "FreeBSD": + env.Append(LINKFLAGS=["-lkvm"]) + ## Cross-compilation # TODO: Support cross-compilation on architectures other than x86. host_is_64_bit = sys.maxsize > 2**32 |