summaryrefslogtreecommitdiff
path: root/gsettings/abicheck.sh
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-07-08 22:41:12 -0400
committerRyan Lortie <desrt@desrt.ca>2012-07-08 22:45:07 -0400
commitcf31cc34f41ba2e70fd28e563f073898cad693be (patch)
tree33ed15c2459c2cec9cc6f86e23dfe7855c128da1 /gsettings/abicheck.sh
parent395d1f509ac879dfedb9c4ef05de3f3293cf9b13 (diff)
downloaddconf-cf31cc34f41ba2e70fd28e563f073898cad693be.tar.gz
gsettings/: add an abicheck.sh script
Make sure no unexpected symbols are leaking out.
Diffstat (limited to 'gsettings/abicheck.sh')
-rwxr-xr-xgsettings/abicheck.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/gsettings/abicheck.sh b/gsettings/abicheck.sh
new file mode 100755
index 0000000..c7b8154
--- /dev/null
+++ b/gsettings/abicheck.sh
@@ -0,0 +1,2 @@
+nm --dynamic --defined-only libdconfsettings.so > public-abi
+test "`cat public-abi | cut -f 3 -d ' ' | grep -v ^_ | grep -v ^g_io_module | wc -l`" -eq 0 && rm public-abi