summaryrefslogtreecommitdiff
path: root/config/x86_64-linux-musl/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config/x86_64-linux-musl/config.c')
-rw-r--r--config/x86_64-linux-musl/config.c76
1 files changed, 76 insertions, 0 deletions
diff --git a/config/x86_64-linux-musl/config.c b/config/x86_64-linux-musl/config.c
index baad021..25bbc11 100644
--- a/config/x86_64-linux-musl/config.c
+++ b/config/x86_64-linux-musl/config.c
@@ -19,6 +19,80 @@ PY_INIT_FUNC(initgc);
PY_INIT_FUNC(init_ast);
PY_INIT_FUNC(_PyWarnings_Init);
+#ifdef PY_ALL_STATIC
+
+#include "static.h"
+
+#define PY_IMPORT_INITTAB_STATIC \
+ {"_bisect", init_bisect}, \
+ {"_codecs_cn", init_codecs_cn}, \
+ {"_codecs_hk", init_codecs_hk}, \
+ {"_codecs_iso2022", init_codecs_iso2022}, \
+ {"_codecs_jp", init_codecs_jp}, \
+ {"_codecs_kr", init_codecs_kr}, \
+ {"_codecs_tw", init_codecs_tw}, \
+ {"_collections", init_collections}, \
+ {"_csv", init_csv}, \
+ {"_ctypes", init_ctypes}, \
+ {"_ctypes_test", init_ctypes_test}, \
+ {"_curses", init_curses}, \
+ {"_curses_panel", init_curses_panel}, \
+ {"_elementtree", init_elementtree}, \
+ {"_functools", init_functools}, \
+ {"_hashlib", init_hashlib}, \
+ {"_heapq", init_heapq}, \
+ {"_hotshot", init_hotshot}, \
+ {"_io", init_io}, \
+ {"_json", init_json}, \
+ {"_locale", init_locale}, \
+ {"_lsprof", init_lsprof}, \
+ {"_multibytecodec", init_multibytecodec}, \
+ {"_multiprocessing", init_multiprocessing}, \
+ {"_random", init_random}, \
+ {"_socket", init_socket}, \
+ {"_sqlite3", init_sqlite3}, \
+ {"_ssl", init_ssl}, \
+ {"_struct", init_struct}, \
+ {"_testcapi", init_testcapi}, \
+ {"array", initarray}, \
+ {"audioop", initaudioop}, \
+ {"binascii", initbinascii}, \
+ {"bz2", initbz2}, \
+ {"cPickle", initcPickle}, \
+ {"cStringIO", initcStringIO}, \
+ {"cmath", initcmath}, \
+ {"crypt", initcrypt}, \
+ {"datetime", initdatetime}, \
+ {"dbm", initdbm}, \
+ {"fcntl", initfcntl}, \
+ {"future_builtins", initfuture_builtins}, \
+ {"gdbm", initgdbm}, \
+ {"grp", initgrp}, \
+ {"itertools", inititertools}, \
+ {"linuxaudiodev", initlinuxaudiodev}, \
+ {"math", initmath}, \
+ {"mmap", initmmap}, \
+ {"operator", initoperator}, \
+ {"ossaudiodev", initossaudiodev}, \
+ {"parser", initparser}, \
+ {"pyexpat", initpyexpat}, \
+ {"readline", initreadline}, \
+ {"resource", initresource}, \
+ {"select", initselect}, \
+ {"spwd", initspwd}, \
+ {"strop", initstrop}, \
+ {"syslog", initsyslog}, \
+ {"termios", inittermios}, \
+ {"time", inittime}, \
+ {"unicodedata", initunicodedata}, \
+ {"zlib", initzlib}, \
+
+#else
+
+#define PY_IMPORT_INITTAB_STATIC
+
+#endif
+
struct _inittab {
char * name;
PY_INIT_PTR(initfunc);
@@ -37,6 +111,8 @@ struct _inittab _PyImport_Inittab[] = {
{"_symtable", init_symtable},
{"xxsubtype", initxxsubtype},
+ PY_IMPORT_INITTAB_STATIC
+
{"marshal", PyMarshal_Init},
{"imp", initimp},
{"_ast", init_ast},