diff --git a/premake4.lua b/premake4.lua index d84c7cee..3d5c5956 100644 --- a/premake4.lua +++ b/premake4.lua @@ -62,7 +62,7 @@ linkoptions { "-rdynamic" } configuration "linux or hurd" - links { "dl" } + links { "dl", "rt" } configuration "macosx" defines { "LUA_USE_MACOSX" } diff --git a/premake5.lua b/premake5.lua index 947a5407..2c00e000 100644 --- a/premake5.lua +++ b/premake5.lua @@ -150,7 +150,7 @@ linkoptions { "-rdynamic" } configuration "linux or hurd" - links { "dl" } + links { "dl", "rt" } configuration "macosx" defines { "LUA_USE_MACOSX" }