meson: do not link libshared dynamically against libudev (#5850)
authorMichael Biebl <mbiebl@gmail.com>
Sat, 29 Apr 2017 06:21:07 +0000 (08:21 +0200)
committerMartin Pitt <martinpitt@users.noreply.github.com>
Sat, 29 Apr 2017 06:21:07 +0000 (08:21 +0200)
commit8e899a929346b8b658c809779d5bc7eb4ffaf3bc
tree33e5eab5454ba3dfe5b3ef750844179d92292634
parent232bd6779727b950553a879f86f1b74108eeb4b4
meson: do not link libshared dynamically against libudev (#5850)

Linking dynamically against libudev will fail once
https://github.com/mesonbuild/meson/pull/1545 is merged and apparently
already triggers a link failure on s390x.

Make libshared provide the udev symbols by including libudev_sources
into libshared. This will cause those files to be compiled twice, but it
actually reduces the installed size and is closer to what the autotools
build system is doing.

Closes #5828
src/shared/meson.build