/apps/twnlua: support dynlib game=off

This commit is contained in:
veclavtalica
2025-01-29 03:14:08 +03:00
parent 637343db5b
commit ea2bbf5de0
2 changed files with 7 additions and 4 deletions

View File

@ -64,8 +64,8 @@ def from_table(typedesc, variable, indent = 0):
print('#include "twn_game_api.h"\n')
# TODO: reuse implementation from the engine, this also breaks with statically compiled build
print('#define STB_DS_IMPLEMENTATION')
if not "--no-dynlib-game" in sys.argv:
print('#define STB_DS_IMPLEMENTATION')
print('#include <stb_ds.h>')
print('#include "minilua.h"\n')