summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2021-04-27 11:10:05 +0800
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-05-25 05:52:02 -0400
commitc67c9e8239a767aa870c1b7aa2adf2a363205837 (patch)
tree2aee0fc9778f5ec7480617ea377069de6e1efd04 /mk
parent4d100f68e6ab76fbfc45515828dcee4e66d924cb (diff)
downloadhaskell-c67c9e8239a767aa870c1b7aa2adf2a363205837.tar.gz
[bindist] inject xattr -c -r . into the darwin install phase
This is so awful, but at least it might get the job done.
Diffstat (limited to 'mk')
-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