aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2022-03-10 16:42:48 +0100
committerEike Ziller <eike.ziller@qt.io>2022-03-11 08:43:59 +0000
commit2829412e154935aea563862254ea5aa64941210f (patch)
treeccdda0bd69442089d17b736874a979b7797b842d /dist
parent18e57ba8864f63bc909272ead748b02d54230b4c (diff)
macOS: Fix 'disclaim' in packages not passing on DYLD_... variables
Signed executables with hardened runtime need the entitlement com.apple.security.cs.allow-dyld-environment-variables to be able to pass on the DYLD_... variables to subprocesses. Fixes: QTCREATORBUG-27175 Change-Id: Ibc203487be4d7111fc60b05749cae4e3ad750b3d Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'dist')
-rw-r--r--dist/installer/mac/disclaim.entitlements8
1 files changed, 8 insertions, 0 deletions
diff --git a/dist/installer/mac/disclaim.entitlements b/dist/installer/mac/disclaim.entitlements
new file mode 100644
index 0000000000..7760cac65c
--- /dev/null
+++ b/dist/installer/mac/disclaim.entitlements
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>com.apple.security.cs.allow-dyld-environment-variables</key>
+ <true/>
+</dict>
+</plist>