meson: add -pthreads and more libs when -Dlink-udev-shared=false (#6159)

System Internals / systemd - Zbigniew Jędrzejewski-Szmek [in.waw.pl] - 21 June 2017 06:05 EDT

Three binaries would fail to link when ld.bfd was used and link-udev-shared was false. Add -pthreads (again) to the failing binaries and synchronize the dependency list between libsystemd-shared .a and .so versions. Apart from allowing the build to succeed, this shouldn't have much effect becuase systemd-networkd was already using pthreads.

Fixes #5828.

4b57a27 meson: add -pthreads and more libs when -Dlink-udev-shared=false (#6159)
meson.build | 1 +
src/network/meson.build | 4 ++--
src/shared/meson.build | 40 ++++++++++++++++------------------------
3 files changed, 19 insertions(+), 26 deletions(-)

Upstream: github.com


  • Share