core: restrict liboakcore exports to the C ABI via version script

Even statically linked runtime libraries must not leak symbols: the
linker version script now whitelists oakcore_* only. nm reports 188
oakcore_* exports and zero anything else.
This commit is contained in:
2026-07-19 23:51:15 +08:00
parent 4fc8b80d7e
commit 1128694257
2 changed files with 13 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
{
global:
oakcore_*;
local:
*;
};