diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2022-06-03 00:50:12 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2022-06-03 00:50:12 +0200 |
| commit | 7ae36a21d031c3d71e9015823c61380f88b0595d (patch) | |
| tree | 8fb619e30b5a7f03f7b7416343ab796f53d74aec /src_doit/c.py | |
| parent | c81812414c1b55352aac2c9bdc9b7f4951f2c6ce (diff) | |
requirements update
Diffstat (limited to 'src_doit/c.py')
| -rw-r--r-- | src_doit/c.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src_doit/c.py b/src_doit/c.py index fa953ea..69b8cb5 100644 --- a/src_doit/c.py +++ b/src_doit/c.py @@ -18,12 +18,12 @@ src_py_dir = Path('src_py') build_c_dir = build_dir / 'c' platforms = [common.local_platform] -if common.local_platform == common.Platform.LINUX: - platforms.append(common.Platform.WINDOWS) +if common.local_platform == common.Platform.LINUX_X86_64: + platforms.append(common.Platform.WINDOWS_AMD64) builds = [CBuild(src_paths=[*src_c_dir.rglob('*.c'), deps_dir / 'argparse/argparse.c', - deps_dir / 'hat-util/src_c/hat/allocator.c'], + deps_dir / 'hat-util/src_c/hat/libc_allocator.c'], build_dir=build_c_dir / platform.name.lower(), platform=platform, cc_flags=['-fPIC', '-O2', |
