From 56f98eed60665edef240f57d7a5be2fe904976ab Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 7 Aug 2023 21:55:55 -0500 Subject: [PATCH] Update buildcore --- deps/buildcore/scripts/setup-build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deps/buildcore/scripts/setup-build.py b/deps/buildcore/scripts/setup-build.py index 22bc4ae..c218fe3 100644 --- a/deps/buildcore/scripts/setup-build.py +++ b/deps/buildcore/scripts/setup-build.py @@ -17,11 +17,12 @@ import sys from pybb import mkdir, rm +os_name = os.uname().sysname.lower() def main() -> int: parser = argparse.ArgumentParser() parser.add_argument('--target', help='Platform target', - default='{:s}-{:s}'.format(sys.platform, platform.machine())) + default='{:s}-{:s}'.format(os_name, platform.machine())) parser.add_argument('--build_type', help='Build type (asan,debug,release)', default='release') parser.add_argument('--build_tool', help='Build tool (default,xcode)', default='') parser.add_argument('--build_root', help='Path to the root of build directories (must be in project dir)', default='build')