meson: include the library symbol version list in link_depends
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 9 Apr 2017 17:11:49 +0000 (13:11 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 24 Apr 2017 01:47:26 +0000 (21:47 -0400)
commit6b30f2801b426dc8a48412f8fd3789fd84521407
tree47e0e27e51dff46490a642aa83772a17e571a4c8
parent572baca1d4bad218805b71be7f92b2c0385ec1e6
meson: include the library symbol version list in link_depends

This is pretty ugly, because I don't know how to use a single
definition for two purposes:
- --version-script needs a path relative to the build root
- link_depends needs a path relative to source root
Also, link_depends does not accept files() output
[https://github.com/mesonbuild/meson/issues/1172], and I don't see a way to go
from files() output to a string path that can be used to craft the -Wl arg.

Ideally, a single files() result could be used in both places.
I'm leaving this as a separate commit for now.
meson.build
src/libsystemd/meson.build
src/libudev/meson.build
src/login/meson.build