From 7409d2d48b69adcdf039fb4aa8bd9ed62460daa9 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Thu, 22 Mar 2018 15:47:37 +0200 Subject: systemd: link udev statically with systemd internal libraries This was the default behavior with autotools, but is not with meson. Otherwise, udev package will pull in the rest of systemd even that is not desired. [YOCTO #12618] Signed-off-by: Alexander Kanavin Signed-off-by: Ross Burton --- meta/recipes-core/systemd/systemd_237.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-core') diff --git a/meta/recipes-core/systemd/systemd_237.bb b/meta/recipes-core/systemd/systemd_237.bb index b1c976fc5b..7ef42b2eae 100644 --- a/meta/recipes-core/systemd/systemd_237.bb +++ b/meta/recipes-core/systemd/systemd_237.bb @@ -168,6 +168,11 @@ rootprefix ?= "${root_prefix}" rootlibdir ?= "${base_libdir}" rootlibexecdir = "${rootprefix}/lib" +# This links udev statically with systemd helper library. +# Otherwise udev package would depend on systemd package (which has the needed shared library), +# and always pull it into images. +EXTRA_OEMESON += "-Dlink-udev-shared=false" + EXTRA_OEMESON += "-Dnobody-user=nobody \ -Dnobody-group=nobody \ -Droothomedir=${ROOTHOME} \ -- cgit 1.2.3-korg