meson: Fix map files and load them to hide private symbols

Map files were using wrong syntax (missing final `;` or invalid chars).

Also, the map files were only monitored for rebuilding, but not really used by
ld, so pass the ldflags with version-script so that private symbols are really
hidden.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/395
This commit is contained in:
Marco Trevisan (Treviño)
2019-01-17 11:54:29 +01:00
parent 562cf14258
commit 371b97af27
8 changed files with 36 additions and 12 deletions

View File

@ -14,4 +14,4 @@ global:
cogl2_set_*;
local:
*;
}
};