mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Added build config to get python.com
Modules/Setup and Modules/Setup.local contain the build recipes for various extensions, wrote a custom script to translate them for python.mk. Modules/config.c needs to be changed if any extensions are removed or added. Most of the source modifications are for missing headers or compile time build vars like ABIFLAGS. Created separate mk files for the C extensions and the Python stdlib. Can use find for adding the python files to the APE ZIP store, but right now necessary files are just hardcoded. python.com loads but some build configs are still missing (showing 1 Jan 1970 as time of compilation).
This commit is contained in:
parent
5ef64dbcdb
commit
98f330b764
45 changed files with 2482 additions and 45 deletions
2
third_party/python/Modules/zlibmodule.c
vendored
2
third_party/python/Modules/zlibmodule.c
vendored
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "structmember.h"
|
||||
// #include "zlib.h"
|
||||
#include "third_party/zlib/zlib.h"
|
||||
|
||||
|
||||
#ifdef WITH_THREAD
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue