Re: [OE-core] [PATCH 1/2] libtool: Only package libltdl for the target
From: Richard Purdie <hidden>
Date: 2021-08-30 20:18:47
On Fri, 2021-08-27 at 14:57 -0700, Saul Wold wrote:
quoted hunk ↗ jump to hunk
The libltdl package is not needed for -native or -cross, so make it's only packaged for the target class. Signed-off-by: Saul Wold <redacted> --- meta/recipes-devtools/libtool/libtool-2.4.6.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/meta/recipes-devtools/libtool/libtool-2.4.6.inc b/meta/recipes-devtools/libtool/libtool-2.4.6.inc index 6748d7468e..38982bf67f 100644 --- a/meta/recipes-devtools/libtool/libtool-2.4.6.inc +++ b/meta/recipes-devtools/libtool/libtool-2.4.6.inc@@ -43,7 +43,7 @@ CACHED_CONFIGUREVARS += "ac_cv_path_GREP=grep" DEPENDS = "libtool-native" -PACKAGES =+ "libltdl" +PACKAGES:prepend:class-target =+ "libltdl" FILES:${PN} += "${datadir}/aclocal" FILES:${PN}-dev:remove = "${datadir}/aclocal"
Since native and cross don't generate packages, why do we need to do this? Rather that what the commit message says, this would seem to cause nativesdk to be unpackaged? Cheers, Richard