diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2021-12-28 21:15:48 +0100 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2021-12-28 21:15:48 +0100 |
| commit | ec322371a96035ea7e23afb58c83bd94c97f6cd8 (patch) | |
| tree | d107e7d0d933e076d64857c8283ab97159703366 | |
| parent | 13f25e57ec613db028b8e8816909606dcef2f9d8 (diff) | |
WIP c implementation
| -rw-r--r-- | Dockerfile.heroku | 2 | ||||
| -rw-r--r-- | 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', |
