From 908807cea6b7fe5d1ee3df7250c4bc225a366d66 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Tue, 17 Dec 2019 17:36:17 -0800 Subject: libxycrypt: build static libraries if 'vmsep' is in distro_features If vmsep is a distro feature, we need to allow the static libraries to be built (so we remove --diable-static). Without this, busybox cannot be statically built and we can't (easily) use it as part of an initrd. Signed-off-by: Bruce Ashfield --- recipes-core/libxcrypt/libxcrypt.bbappend | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 recipes-core/libxcrypt/libxcrypt.bbappend (limited to 'recipes-core/libxcrypt') diff --git a/recipes-core/libxcrypt/libxcrypt.bbappend b/recipes-core/libxcrypt/libxcrypt.bbappend new file mode 100644 index 00000000..0b4fbb3d --- /dev/null +++ b/recipes-core/libxcrypt/libxcrypt.bbappend @@ -0,0 +1,4 @@ +# if vmsep is in distro features, we need a static libxycryp, so we can build +# a static busybox. The end result of this is: +# EXTRA_OECONF_remove = "--disable-static" +EXTRA_OECONF_remove = "${@bb.utils.contains('DISTRO_FEATURES', 'vmsep', '--disable-static', '', d)}" -- cgit v1.2.3-54-g00ecf