kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit b1a3f2b0f83afa0a54990503b3c639666dc36885
parent 5dd2e922b316e7dbf91930c9744bdc7fc25bfcbe
Author: Joris Vink <joris@coders.se>
Date:   Sun,  2 Apr 2023 18:54:36 +0200

fix single binary builds using PYTHON flavor.

Diffstat:
src/python.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/python.c b/src/python.c @@ -1302,7 +1302,9 @@ python_runtime_resolve(const char *module, const struct stat *st) kore_module_load(module, NULL, KORE_MODULE_PYTHON); } +#if !defined(KORE_SINGLE_BINARY) kore_pymodule = module; +#endif kore_hooks_set(KORE_PYTHON_CONFIG_HOOK, KORE_PYTHON_TEARDOWN_HOOK, KORE_PYTHON_DAEMONIZED_HOOK);