summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2018-12-05 00:49:28 -0500
committermidipix <writeonce@midipix.org>2018-12-06 20:58:31 -0500
commitec618c98e8afdf2e5083a8dd045953cdc43781e1 (patch)
tree60af3c19e6498ecdbe8ec031c1cfed9d6b1bdd34 /config
parent05a469061a9553e0fe2ffdf2b9833394f28192f5 (diff)
downloadsbpython2-ec618c98e8afdf2e5083a8dd045953cdc43781e1.tar.bz2
sbpython2-ec618c98e8afdf2e5083a8dd045953cdc43781e1.tar.xz
project: pycompile: extend to allow .pyc generation of all pydist scripts.
Diffstat (limited to 'config')
-rw-r--r--config/x86_64-linux-musl/config.c4
-rw-r--r--config/x86_64-nt64-midipix/config.c4
2 files changed, 8 insertions, 0 deletions
diff --git a/config/x86_64-linux-musl/config.c b/config/x86_64-linux-musl/config.c
index a4ec971..d4d2384 100644
--- a/config/x86_64-linux-musl/config.c
+++ b/config/x86_64-linux-musl/config.c
@@ -11,5 +11,9 @@ struct _inittab _PyImport_Inittab[] = {
PY_IMPORT_INITTAB_LINUX_AUDIO,
#endif
+#ifdef PY_FOR_PYCOMPILE
+ PY_IMPORT_INITTAB_PYCOMPILE_CORE,
+#endif
+
{0, 0}
};
diff --git a/config/x86_64-nt64-midipix/config.c b/config/x86_64-nt64-midipix/config.c
index f0fb3bf..0304e40 100644
--- a/config/x86_64-nt64-midipix/config.c
+++ b/config/x86_64-nt64-midipix/config.c
@@ -9,5 +9,9 @@ struct _inittab _PyImport_Inittab[] = {
PY_IMPORT_INITTAB_ANYOS_CORE,
#endif
+#ifdef PY_FOR_PYCOMPILE
+ PY_IMPORT_INITTAB_PYCOMPILE_CORE,
+#endif
+
{0, 0}
};