The value of STAGING_LIBDIR depends on baselib, which may be "lib" or "lib64" depending on the target architecture. To avoid making PACKAGECONFIG unnecessarily arch-dependent, we can use STAGING_DIR_HOST as the search prefix for libogg instead.
The search prefix is necessary here, removing it completely results in compilation errors. Signed-off-by: Paul Barker <[email protected]> --- meta/recipes-multimedia/flac/flac_1.5.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-multimedia/flac/flac_1.5.0.bb b/meta/recipes-multimedia/flac/flac_1.5.0.bb index e227133ad794..2f43b4e84b24 100644 --- a/meta/recipes-multimedia/flac/flac_1.5.0.bb +++ b/meta/recipes-multimedia/flac/flac_1.5.0.bb @@ -34,7 +34,7 @@ PACKAGECONFIG ??= " \ ogg \ " PACKAGECONFIG[avx] = "--enable-avx,--disable-avx" -PACKAGECONFIG[ogg] = "--enable-ogg --with-ogg-libraries=${STAGING_LIBDIR} --with-ogg-includes=${STAGING_INCDIR},--disable-ogg,libogg" +PACKAGECONFIG[ogg] = "--enable-ogg --with-ogg=${STAGING_DIR_HOST},--disable-ogg,libogg" PACKAGES += "libflac libflac++" FILES:${PN} = "${bindir}/*" -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#233422): https://lists.openembedded.org/g/openembedded-core/message/233422 Mute This Topic: https://lists.openembedded.org/mt/118386724/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
