mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
Fix regression with Python linker eaxmples
We can once again create 2mb statically-linked Python binaries:
$ make -j8 m=tiny o/tiny/examples/pyapp/pyapp.com
$ ls -hal o/tiny/examples/pyapp/pyapp.com
-rwxr-xr-x 1 jart jart 2.1M May 1 14:04 o/tiny/examples/pyapp/pyapp.com
$ o/tiny/examples/pyapp/pyapp.com
cosmopolitan is cool!
The regression was caused by Python thread support in b15f9eb58
This commit is contained in:
parent
fc82f77a46
commit
12438cce16
4 changed files with 3 additions and 7 deletions
1
third_party/python/python.c
vendored
1
third_party/python/python.c
vendored
|
@ -167,7 +167,6 @@ STATIC_YOINK("_PyImport_Inittab__stat");
|
|||
STATIC_YOINK("_PyImport_Inittab__struct");
|
||||
STATIC_YOINK("_PyImport_Inittab__symtable");
|
||||
STATIC_YOINK("_PyImport_Inittab__testcapi");
|
||||
STATIC_YOINK("_PyImport_Inittab__thread");
|
||||
STATIC_YOINK("_PyImport_Inittab__tracemalloc");
|
||||
STATIC_YOINK("_PyImport_Inittab_array");
|
||||
STATIC_YOINK("_PyImport_Inittab_atexit");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue