summaryrefslogtreecommitdiff
path: root/mk/project.mk.in
diff options
context:
space:
mode:
Diffstat (limited to 'mk/project.mk.in')
-rw-r--r--mk/project.mk.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/mk/project.mk.in b/mk/project.mk.in
index e40a73bf13..4f82b1607a 100644
--- a/mk/project.mk.in
+++ b/mk/project.mk.in
@@ -143,6 +143,13 @@ else
Windows_Host=NO
endif
+# Darwin_Host=YES if on a Darwin platform
+ifneq "$(findstring $(HostOS_CPP), darwin)" ""
+Darwin_Host=YES
+else
+Darwin_Host=NO
+endif
+
# Windows_Target=YES if we are targeting a Windows platform
ifneq "$(findstring $(TargetOS_CPP), mingw32)" ""
Windows_Target=YES