From 628f3b2f7975600dee2ee31fc85ed23d2f34c8ab Mon Sep 17 00:00:00 2001 From: bruvzg <7645683+bruvzg@users.noreply.github.com> Date: Mon, 3 Apr 2023 11:46:29 +0300 Subject: [OS] Implement and expose to scripting APIs `get_memory_info` method instead of old `get_free_static_memory`. --- platform/linuxbsd/detect.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'platform/linuxbsd/detect.py') 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 -- cgit v1.2.3