diff options
author | Ben Gamari <ben@smart-cactus.org> | 2022-08-06 14:50:15 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2022-08-06 22:58:44 -0400 |
commit | cb3200175c68ad98140916ea406f0b65118f48e7 (patch) | |
tree | 9c4aeebb147ac2568a4d729045bf79748286807a | |
parent | cc71593529ceeed5ecc38de645db331acb37a771 (diff) | |
download | haskell-cb3200175c68ad98140916ea406f0b65118f48e7.tar.gz |
hadrian: Extend xattr Darwin hack to cover /lib
As noted in #21506, it is now necessary to remove extended attributes
from `/lib` as well as `/bin` to avoid SIP issues on Darwin.
Fixes #21506.
(cherry picked from commit a30ef212790e41ba01f92f24e3be4d645502d9ee)
-rw-r--r-- | hadrian/bindist/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/hadrian/bindist/Makefile b/hadrian/bindist/Makefile index 05f6b68698..9fe7d4401d 100644 --- a/hadrian/bindist/Makefile +++ b/hadrian/bindist/Makefile @@ -209,6 +209,9 @@ install_lib: lib/settings esac; \ done; \ chmod ugo+rx "$$dest"/bin/* + for i in $(DOCS); do \ + cp -R $$i "$(DESTDIR)$(docdir)/"; \ + done install_docs: @echo "Copying docs to $(DESTDIR)$(docdir)" |