summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/conf/distro/include/default-providers.inc1
-rw-r--r--meta/recipes-devtools/libtool/libtool_2.4.6.bb4
2 files changed, 4 insertions, 1 deletions
diff --git a/meta/conf/distro/include/default-providers.inc b/meta/conf/distro/include/default-providers.inc
index ddeff6ca45..9aaae0dbaa 100644
--- a/meta/conf/distro/include/default-providers.inc
+++ b/meta/conf/distro/include/default-providers.inc
@@ -55,3 +55,4 @@ PREFERRED_PROVIDER_pkgconfig-native ?= "pkgconfig-native"
PREFERRED_RPROVIDER_initd-functions ?= "initscripts"
#PREFERRED_PROVIDER_bash ?= "busybox"
PREFERRED_RPROVIDER_bash ?= "busybox"
+VIRTUAL-RUNTIME_bash = "busybox"
diff --git a/meta/recipes-devtools/libtool/libtool_2.4.6.bb b/meta/recipes-devtools/libtool/libtool_2.4.6.bb
index b02620b4b4..44a379dff2 100644
--- a/meta/recipes-devtools/libtool/libtool_2.4.6.bb
+++ b/meta/recipes-devtools/libtool/libtool_2.4.6.bb
@@ -1,6 +1,8 @@
require libtool-${PV}.inc
-RDEPENDS_${PN} += "bash"
+VIRTUAL-RUNTIME_bash ?= "bash"
+RDEPENDS_${PN}_append_class-target = " ${VIRTUAL-RUNTIME_bash}"
+RDEPENDS_${PN}_remove = "bash"
#
# We want the results of libtool-cross preserved - don't stage anything ourselves.