diff --git a/CHANGES.txt b/CHANGES.txt index 310a6e24..571ba07d 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -24,6 +24,7 @@ RC1 -> RC2 - Fixed separator between library dependencies in C++ makefiles - Added missing os.copyfile() function - Bug: Sometimes takes a long time to complete on Linux +- Enabled Lua popen support on Linux and Mac OS X ----- diff --git a/premake4.lua b/premake4.lua index 71851e95..1fb3f403 100644 --- a/premake4.lua +++ b/premake4.lua @@ -72,7 +72,11 @@ end defines { "_CRT_SECURE_NO_WARNINGS" } configuration "linux" - links { "m" } + defines { "LUA_USE_LINUX" } + links { "m", "dl" } + + configuration "macosx" + defines { "LUA_USE_MACOSX" }