Build for Linux

This commit is contained in:
Marcel Fabian Krüger 2022-10-16 15:17:31 +02:00
parent 4772879575
commit 38076b1e7e
2 changed files with 13 additions and 5 deletions

View file

@ -59,6 +59,11 @@ static const struct luaL_Reg lib_table [] = {
{NULL, NULL}
};
#ifdef _WIN32
__declspec(dllexport)
#else
__attribute__ ((visibility ("default")))
#endif
int luaopen_luaharfbuzz (lua_State *L) {
lua_newtable(L);