Reputation: 1468
..., a follow up to this.
From the answers I've been given to my referenced question I've learned that:
Having a closer look at SDL in the light of what's been said, I've realized, that its linking has two layers: in my SDL project, I link statically against libSDL.a, which will, in turn, link dynamically against SDL.dll, thereby elminating the need for different .dll versions for different compilers.
The question is whether this is really the case and a viable solution to the problem, or am I missing something (and what)?
Upvotes: 2
Views: 277
Reputation: 13973
I think your approach is right. I'd put it this way:
extern C
)Upvotes: 3