Christoffer Lerno
Christoffer Lerno
I'm sorry about that. It should work properly now.
For now -Wl,-all_load before linking the static library works.
If you do this with a C library, using the __attribute__((constructor)) I think you see the same thing (the constructor isn't called)
The problem here is that if you include a static library, then unless the symbol can be traced it is deleted. While enforcing load works, this is not ideal. We...
This should now work if you build a static lib as it will build everything in a single module.
I think this should work so I close it, and reopen it if it is a problem again.
I've changed this in `dev`, please have a try.
Tracing was missing a bit, try it now.
Heh, fixed one side of the if, but not the other... Try it again @cbuttner
Thanks! Fixed now @cbuttner