diff options
author | Tim-Philipp Müller <tim@centricular.com> | 2017-07-30 16:42:52 +0100 |
---|---|---|
committer | Olivier Crête <olivier.crete@collabora.com> | 2018-12-14 14:47:01 -0500 |
commit | 0e0f89d2b916dc0475787e0970bb692882ee3de2 (patch) | |
tree | e63653836a4e07fd0d54c5b2b5b52d7535d37c91 /nice/gen-map.py | |
parent | ed70ea09b6b283b25d3047443c00a14c8cb29e1a (diff) | |
download | libnice-0e0f89d2b916dc0475787e0970bb692882ee3de2.tar.gz |
Add support for Meson build system
Diffstat (limited to 'nice/gen-map.py')
-rw-r--r-- | nice/gen-map.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/nice/gen-map.py b/nice/gen-map.py new file mode 100644 index 0000000..e1e49c0 --- /dev/null +++ b/nice/gen-map.py @@ -0,0 +1,28 @@ +#!/usr/bin/env python3 +# +# gen-map.py LIBNICE.SYM +import os +import sys + +try: + sym_file = sys.argv[1] +except: + print('Usage: gen-map.py SYM-FILE') + exit(-1) + +f = open(os.path.join(sym_file), 'r') + +print('''libnice { +global:''') + +for line in f: + print('\t' + line.strip() + ';') + +print('''}; + +HIDDEN { +local: + *; +};''') + +f.close() |