I'm finding that when I link an executable against a static library (.a), the symbols from the static library end up being exported by the executable file. I would like to avoid this and export nothing.
I've tried providing a version script, but it seems to make no difference. The contents of my version script are as follows:
{
global:
main;
local:
*;
};
Is there a way to not export symbols from an executable when linking in a static library? I can't recompile the static library itself.