diff --git a/contrib/luasocket/premake5.lua b/contrib/luasocket/premake5.lua index f19706f4..de076191 100644 --- a/contrib/luasocket/premake5.lua +++ b/contrib/luasocket/premake5.lua @@ -27,4 +27,6 @@ project "luasocket-lib" removefiles { "src/wsocket.*", - } \ No newline at end of file + } + + defines { "LUASOCKET_API=__attribute__((visibility(\"default\")))" } \ No newline at end of file