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:
authorstarkos <none@none>2009-01-12 00:50:11 +0300
committerstarkos <none@none>2009-01-12 00:50:11 +0300
commit6995d57637998ef47e5ddbbfcb5a2416f9322b3f (patch)
tree62246259013b2f7da515b1b0167018269f2640eb
parentda14ac357d80834a179e53b54b1749c49b7d27e0 (diff)
Added LUA_USE_LINUX and LUA_USE_MACOSX to enable POPEN functionality
-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" }