diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2019-09-23 14:03:34 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2019-10-28 21:49:30 +0100 |
commit | 743f4da9dec46bc7df947fe85111a2786f82ef6f (patch) | |
tree | eafd8a3460c675727646ab60211fc647e5335546 /libgjs.symbols | |
parent | 272cee79f40d0f8f46dc660554325c388e3ee640 (diff) | |
download | gjs-743f4da9dec46bc7df947fe85111a2786f82ef6f.tar.gz |
meson, autotools: Hide non-exported symbols by default
Move jsapi generic symbols to a private static library and hide all the
symbols by default, except the ones marked with GJS_EXPORT that is now
setting the default visibility.
Use then this static library to link dependent tools with (using the
libgjs_dep definition in meson, instead of manually set the link_with).
In order not to get C++ symbols exported we still need to use a map
file to whitelist the gjs_ prefixed symbols.
Fixes https://gitlab.gnome.org/GNOME/gjs/issues/194
Diffstat (limited to 'libgjs.symbols')
-rw-r--r-- | libgjs.symbols | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libgjs.symbols b/libgjs.symbols index 5ebe9e4c..a78269ef 100644 --- a/libgjs.symbols +++ b/libgjs.symbols @@ -2,7 +2,6 @@ # Linker scripts are not understood by the macOS linker, we need to use a # symbol export file instead. # With autotools, this was all done transparently by -export-symbols-regex. -# Remove when https://gitlab.gnome.org/GNOME/gjs/issues/194 is completed _gjs_* __Z*[0-9]gjs_* __ZN*GjsContextPrivate*from_object* |