build: simplify version script

Let's expose all of our prefixed symbols. Instead of trying to have
fine-grained rules and only expose our public API, let's just expose
all symbols that won't cause a conflict.

Users won't be able to use the symbols without a proper header
declaration anyways. If they go through the process of re-defining
wlr_ symbols manually, that's on them if their build breaks.

This aligns the rules with [1].

[1]: https://github.com/swaywm/wlroots/pull/2969
This commit is contained in:
Simon Ser 2021-06-14 23:49:28 +02:00
parent 8d2a94b0df
commit f6e680ef94

View file

@ -1,11 +1,7 @@
{
global:
wlr_*;
_wlr_log;
_wlr_vlog;
_wlr_strip_path;
_wlr_*;
local:
wlr_signal_emit_safe;
wlr_global_destroy_safe;
*;
};