~tomleb/meson_version_script

Repository to demonstrate version script
f3874663 — Tom Lebreux 1 year, 7 months ago
Add LICENSE file
0c5843a2 — Tom Lebreux 1 year, 7 months ago
Add README.md
c04bbf06 — Tom Lebreux 1 year, 8 months ago
Initial commit

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~tomleb/meson_version_script
read/write
git@git.sr.ht:~tomleb/meson_version_script

You can also use your local clone with git send-email.

#Meson Version Script

This is an example repository that demonstrates the use of a version script file to limit the visibility of symbols for a dynamic library.

This repository is used in this blog post: Symbols and Symbols File

#Build

You can build the example by running the following commands.

meson build
ninja -C build

#Symbols

You can see the exported symbols by running the nm command. In this case, only symbols with a prefix of foo are globally exported.

nm ./build/libfoo.so