Add the option com.apple.security.cs.allow-dyld-environment-variables.
authorCarl Hetherington <cth@carlh.net>
Mon, 28 Dec 2020 22:17:56 +0000 (23:17 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 4 Jan 2021 09:48:59 +0000 (10:48 +0100)
Without this the use of @executable_path in links to .dylibs causes
problems, perhaps only when linking against the 11.0 SDK.

platform/osx/make_dmg.sh

index a77fba23901a667ee3cda31f7b92d194a2345020..219dc647d63721e826df1c797433dac5ce4a156d 100644 (file)
@@ -35,6 +35,8 @@ cat <<EOF > entitlements.plist
 <dict>
   <key>com.apple.security.cs.disable-library-validation</key>
   <true/>
+  <key>com.apple.security.cs.allow-dyld-environment-variables</key>
+  <true/>
 </dict>
 </plist>
 EOF