From: Paul Barker <paul@pbarker.dev>
To: openembedded-core@lists.openembedded.org
Cc: Paul Barker <paul@pbarker.dev>
Subject: [PATCH 05/12] flac: Use arch independent search path
Date: Wed, 18 Mar 2026 17:14:48 +0000 [thread overview]
Message-ID: <20260318-fix-checklayer-2-v1-5-388ba6ce47cd@pbarker.dev> (raw)
In-Reply-To: <20260318-fix-checklayer-2-v1-0-388ba6ce47cd@pbarker.dev>
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 <paul@pbarker.dev>
---
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
next prev parent reply other threads:[~2026-03-18 17:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-18 17:14 [PATCH 00/12] Further check-layer fixes Paul Barker
2026-03-18 17:14 ` [PATCH 01/12] checklayer: Fix regex in get_signatures Paul Barker
2026-03-18 17:14 ` [PATCH 02/12] curl: Drop arch dependent search paths Paul Barker
2026-03-18 17:14 ` [PATCH 03/12] ghostscript: " Paul Barker
2026-03-18 17:14 ` [PATCH 04/12] libssh2: " Paul Barker
2026-03-18 17:14 ` Paul Barker [this message]
2026-03-18 17:14 ` [PATCH 06/12] gettext: Use arch independent " Paul Barker
2026-03-18 17:14 ` [PATCH 07/12] gnutls: " Paul Barker
2026-03-18 17:14 ` [PATCH 08/12] initscripts: Make SRC_URI arch independent Paul Barker
2026-03-18 17:22 ` [OE-core] " Richard Purdie
2026-03-18 17:14 ` [PATCH 09/12] linux-yocto: Avoid arch dependent vardeps for SRC_URI Paul Barker
2026-03-18 17:14 ` [PATCH 10/12] libsdl2: Explicitly set PACKAGECONFIG vardeps Paul Barker
2026-03-18 17:29 ` [OE-core] " Richard Purdie
2026-03-18 17:14 ` [PATCH 11/12] graphene: " Paul Barker
2026-03-18 17:14 ` [PATCH 12/12] gstreamer1.0-plugins-good: " Paul Barker
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260318-fix-checklayer-2-v1-5-388ba6ce47cd@pbarker.dev \
--to=paul@pbarker.dev \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox