Providing stubs to a static library
See the question and my original answer on StackOverflowIn the end, you should always be able to provide ABI-compatible .obj files that you compiled yourself (not necessarily in assembler, C or "extern C" C++ for example)