diff options
author | starkos <none@none> | 2009-01-12 00:50:11 +0300 |
---|---|---|
committer | starkos <none@none> | 2009-01-12 00:50:11 +0300 |
commit | 6995d57637998ef47e5ddbbfcb5a2416f9322b3f (patch) | |
tree | 62246259013b2f7da515b1b0167018269f2640eb | |
parent | da14ac357d80834a179e53b54b1749c49b7d27e0 (diff) |
Added LUA_USE_LINUX and LUA_USE_MACOSX to enable POPEN functionality
-rw-r--r-- | CHANGES.txt | 1 | ||||
-rw-r--r-- | premake4.lua | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 310a6e2..571ba07 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 71851e9..1fb3f40 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" } |