fix: Compile Lua as a C library (#5251)

This commit is contained in:
pajlada
2024-03-16 15:15:05 +01:00
committed by GitHub
parent 47c46b64ea
commit 3563ecb3a5
10 changed files with 21 additions and 3 deletions
@@ -9,8 +9,10 @@
# include "providers/twitch/TwitchChannel.hpp"
# include "providers/twitch/TwitchIrcServer.hpp"
extern "C" {
# include <lauxlib.h>
# include <lua.h>
}
# include <cassert>
# include <memory>
+5 -2
View File
@@ -4,8 +4,11 @@
# include "Application.hpp"
# include "controllers/plugins/LuaUtilities.hpp"
# include "controllers/plugins/PluginController.hpp"
# include "lauxlib.h"
# include "lua.h"
extern "C" {
# include <lauxlib.h>
# include <lua.h>
}
# include <cerrno>