summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Adam <jakub.adam@collabora.com>2019-01-14 12:44:41 +0100
committerJakub Adam <jakub.adam@collabora.com>2019-01-14 19:13:12 +0100
commit1ff4d53d3dcb35bac9ca9317033170c201609803 (patch)
tree68ddeeccbb4cc9076fe0f7c22b79340744accc61
parentd15db0810b5ef644c8078baec12f95738f59ba9b (diff)
downloadlibnice-1ff4d53d3dcb35bac9ca9317033170c201609803.tar.gz
meson: unify exported symbol versions with autotools
libnice.so created by autotools has its symbols bound to the default 'Base' version node, whereas Meson build arbitrarily introduced a version node named 'libnice'. This breaks tools like dpkg-gensymbols that track changes in exported symbols through several releases of the library. Remove 'libnice' version and revert back to using unspecified version.
-rw-r--r--nice/gen-map.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/nice/gen-map.py b/nice/gen-map.py
index e1e49c0..da49e75 100644
--- a/nice/gen-map.py
+++ b/nice/gen-map.py
@@ -12,16 +12,13 @@ except:
f = open(os.path.join(sym_file), 'r')
-print('''libnice {
+print('''{
global:''')
for line in f:
print('\t' + line.strip() + ';')
-print('''};
-
-HIDDEN {
-local:
+print('''local:
*;
};''')