1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Improve --version output to include Lua(JIT) version

This commit is contained in:
sfan5 2021-01-20 15:01:48 +01:00
parent 7f25823bd4
commit d92da47697
2 changed files with 17 additions and 3 deletions

View file

@ -33,11 +33,12 @@ const char *g_version_hash = VERSION_GITHASH;
const char *g_build_info =
"BUILD_TYPE=" BUILD_TYPE "\n"
"RUN_IN_PLACE=" STR(RUN_IN_PLACE) "\n"
"USE_CURL=" STR(USE_CURL) "\n"
#ifndef SERVER
"USE_GETTEXT=" STR(USE_GETTEXT) "\n"
"USE_SOUND=" STR(USE_SOUND) "\n"
"USE_CURL=" STR(USE_CURL) "\n"
"USE_FREETYPE=" STR(USE_FREETYPE) "\n"
"USE_LUAJIT=" STR(USE_LUAJIT) "\n"
#endif
"STATIC_SHAREDIR=" STR(STATIC_SHAREDIR)
#if USE_GETTEXT && defined(STATIC_LOCALEDIR)
"\n" "STATIC_LOCALEDIR=" STR(STATIC_LOCALEDIR)