March 14, 2021 How do I load dylib (i.e. phobos and druntime for ldc) in Macos sandboxed app? | ||||
---|---|---|---|---|
| ||||
This is more a macos thing than a D thing but still relevant. In another thread I was asking about cleaning up a D dylib for using in Excel. Ldc was suggested though first I have to figure out how to make the phobos and druntime loadable from within the sandbox. (I've posted in a new topic as it was drift from the original question - hope that helps anyone else searching for the same answers). I'm not expecting many relies - unless someone has happened to have solved it. Will post links once I've figured a solution. |
March 14, 2021 Re: How do I load dylib (i.e. phobos and druntime for ldc) in Macos sandboxed app? | ||||
---|---|---|---|---|
| ||||
Posted in reply to David | On Sunday, 14 March 2021 at 11:40:25 UTC, David wrote: > This is more a macos thing than a D thing but still relevant. In another thread I was asking about cleaning up a D dylib for using in Excel. Ldc was suggested though first I have to figure out how to make the phobos and druntime loadable from within the sandbox. > > (I've posted in a new topic as it was drift from the original question - hope that helps anyone else searching for the same answers). > > I'm not expecting many relies - unless someone has happened to have solved it. Will post links once I've figured a solution. Solved using install_name_tool and https://medium.com/@donblas/fun-with-rpath-otool-and-install-name-tool-e3e41ae86172 |
Copyright © 1999-2021 by the D Language Foundation