[PATCH wayland v2 0/4] wayland-util to all
Emil Velikov
emil.l.velikov at gmail.com
Tue Feb 21 16:14:25 UTC 2017
Hi all,
As a continuation of an earlier thread:
While not crucial, it's recommended that different libraries do not
provide the same [conflicting] global symbol(s).
As such I've fleshed out libwayland-util.so. It is considered internal
one to wayland, since users implicitly use the API (as pulled by the
generated wayland headers).
Linking in any direction and permutation is perfectly safe, with the
only nuisance to package developers - add two/three lines in their build
recipe.
A simple test project can be found at [1], with anyone welcome to test
the series with their favourite project.
If that goes well, I'll jump on beating some sense into the scanner to
produce proper static/shared symbols such that libraries export
wl.*interface symbols only as needed [for example Mesa's libEGL.so and
libgbm.so export wl_drm_interface... but only sometimes]
Thanks
Emil
[1] https://github.com/evelikov/wl_link_test
More information about the wayland-devel
mailing list