Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x-stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.txt1
-rw-r--r--premake4.lua6
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" }