[Issue 15060] Can't load a D shared library first, then load a C shared library

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Sep 28 02:44:44 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=15060

Jacob Carlborg <doob at me.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doob at me.com

--- Comment #7 from Jacob Carlborg <doob at me.com> ---
(In reply to Martin Nowak from comment #4)
> Can someone please try to fix this properly in druntime?
> If it's not doable using the dyld API, I might work on adding init/fini
> calls to any OSX binary (similar to what we do on ELF).

I've looked in the source code of dyld. There's no code that removes anything
from the list of callbacks. I don't see any other way than using the init/fini
calls.

--


More information about the Digitalmars-d-bugs mailing list