From ec322371a96035ea7e23afb58c83bd94c97f6cd8 Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Tue, 28 Dec 2021 21:15:48 +0100 Subject: WIP c implementation --- Dockerfile.heroku | 2 +- src_doit/c.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.heroku b/Dockerfile.heroku index a125676..03ca85f 100644 --- a/Dockerfile.heroku +++ b/Dockerfile.heroku @@ -8,7 +8,7 @@ WORKDIR /opcut COPY . . RUN apt install -qy nodejs yarnpkg git gcc-mingw-w64-x86-64-win32 && \ ln -sT /usr/bin/yarnpkg /usr/bin/yarn && \ - ln -sT /usr/bin/x86_64-w64-mingw32-cc-win32 /usr/bin/x86_64-w64-mingw32-cc && \ + ln -sT /usr/bin/x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-cc && \ pip install -qq -r requirements.pip.dev.txt && \ doit diff --git a/src_doit/c.py b/src_doit/c.py index 49c794f..7c7162a 100644 --- a/src_doit/c.py +++ b/src_doit/c.py @@ -23,7 +23,7 @@ if local_platform == Platform.LINUX: platforms.append(Platform.WINDOWS) builds = [CBuild(src_paths=[*src_c_dir.rglob('*.c'), - *(deps_dir / 'argparse').rglob('*.c')], + deps_dir / 'argparse/argparse.c'], build_dir=build_c_dir / platform.name.lower(), platform=platform, cc_flags=['-fPIC', '-O2', -- cgit v1.2.3-70-g09d2