Hide kore_pymodule behind !KORE_SINGLE_BINARY.

Unbreaks building single binaries with Python support.
This commit is contained in:
Joris Vink 2022-03-21 08:51:05 +01:00
parent f9c3fac6fa
commit 5bfd61d136
1 changed files with 2 additions and 0 deletions

View File

@ -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