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.txt3
-rw-r--r--premake4.lua4
-rwxr-xr-xsrc/host/premake.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index c3a276d..f47e94c 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -44,7 +44,8 @@
* Added new global _WORKING_DIR
* Patch 3351583: _PREMAKE_COMMAND variable (Konstantin Tokarev)
* Patch 3451928: VS2008 trying to build *.h files in C projects
-
+* Patch 3429777: Support for DragonFly BSD (Joachim de Groot)
+* Patch 3445049: Build fix for FreeBSD (Konstantin Tokarev)
-------
4.3
diff --git a/premake4.lua b/premake4.lua
index 99822eb..4ac2663 100644
--- a/premake4.lua
+++ b/premake4.lua
@@ -55,6 +55,10 @@
configuration "linux"
defines { "LUA_USE_POSIX", "LUA_USE_DLOPEN" }
links { "m", "dl" }
+
+ configuration "bsd"
+ defines { "LUA_USE_POSIX", "LUA_USE_DLOPEN" }
+ links { "m" }
configuration "macosx"
defines { "LUA_USE_MACOSX" }
diff --git a/src/host/premake.h b/src/host/premake.h
index a9170e8..5f496e6 100755
--- a/src/host/premake.h
+++ b/src/host/premake.h
@@ -15,7 +15,7 @@
#if defined(__linux__)
#define PLATFORM_LINUX (1)
#define PLATFORM_STRING "linux"
-#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+#elif defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)
#define PLATFORM_BSD (1)
#define PLATFORM_STRING "bsd"
#elif defined(__APPLE__) && defined(__MACH__)