commit 5bfd61d13630fa89d795ea94c05bfc336ab907c5
parent f9c3fac6fa47a09ea76e7d541d6f0570b61d32dc
Author: Joris Vink <joris@coders.se>
Date: Mon, 21 Mar 2022 08:51:05 +0100
Hide kore_pymodule behind !KORE_SINGLE_BINARY.
Unbreaks building single binaries with Python support.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/python.c b/src/python.c
@@ -379,10 +379,12 @@ kore_python_init(void)
KORE_FILTER_LEN(filter_python));
#endif
+#if !defined(KORE_SINGLE_BINARY)
if (kore_pymodule) {
if (!kore_configure_setting("deployment", "dev"))
fatal("failed to set initial deployment");
}
+#endif
}
void