godotengine / godotengine/godot-build-scripts
Mac entitlements
- Dominant language
- Shell
- Stars
- 110
- Forks
- 82
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 5
Description
I'm writing gdnative haxe (hashlink) bindings and after update to 3.3 encountered problems with registering the library.
There are [calls](https://github.com/HaxeFoundation/hashlink/blob/4c4de37d49cf0ed66b47d20d380fe95bc1bc3ec0/src/module.c#L360) to `dlopen` in hashlink with relative paths and without [`allow-dyld-environment-variables`](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_cs_allow-dyld-environment-variables) entitlement those won't resolve properly.
Also based on [this line](https://github.com/HaxeFoundation/hashlink/blob/4c4de37d49cf0ed66b47d20d380fe95bc1bc3ec0/src/gc.c#L894) in hashlink source code i assume that [`allow-unsigned-executable-memory`](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_cs_allow-unsigned-executable-memory) is needed too...
The library works fine with official mono build (so this is not about something else).
Is addition of these entitlements too problematic?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.