Openembedded Core Discussions
 help / color / mirror / Atom feed
From: ecordonnier@snap.com
To: openembedded-core@lists.openembedded.org
Cc: Etienne Cordonnier <ecordonnier@snap.com>
Subject: [PATCH] sqlite3: use SOLIBS and SOLIBSDEV in FILES
Date: Mon, 12 Oct 2026 18:03:19 +0200	[thread overview]
Message-ID: <20261012160319.1965203-1-ecordonnier@snap.com> (raw)

From: Etienne Cordonnier <ecordonnier@snap.com>

The lib package and its -dev package hard-code the ELF ".so.*" and ".so"
globs, so the shared libraries aren't packaged on platforms where
SOLIBS/SOLIBSDEV differ (e.g. ".dylib" on Darwin). Use the variables, as
other recipes do. No change for Linux targets, where they default to
".so.*" and ".so".

AI-Generated: Claude Sonnet 5.5
Signed-off-by: Etienne Cordonnier <ecordonnier@snap.com>
---
 meta/recipes-support/sqlite/sqlite3_3.53.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/sqlite/sqlite3_3.53.4.bb b/meta/recipes-support/sqlite/sqlite3_3.53.4.bb
index 137ec26207..3e13dbdbfd 100644
--- a/meta/recipes-support/sqlite/sqlite3_3.53.4.bb
+++ b/meta/recipes-support/sqlite/sqlite3_3.53.4.bb
@@ -69,8 +69,8 @@ CFLAGS += "${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', '-DSQLITE_BYTEOR
 PACKAGES = "lib${BPN} lib${BPN}-dev lib${BPN}-doc ${PN}-dbg lib${BPN}-staticdev ${PN}"
 
 FILES:${PN} = "${bindir}/*"
-FILES:lib${BPN} = "${libdir}/*.so.*"
-FILES:lib${BPN}-dev = "${libdir}/*.la ${libdir}/*.so \
+FILES:lib${BPN} = "${libdir}/*${SOLIBS}"
+FILES:lib${BPN}-dev = "${libdir}/*.la ${libdir}/*${SOLIBSDEV} \
                        ${libdir}/pkgconfig ${includedir}"
 FILES:lib${BPN}-doc = "${docdir} ${mandir} ${infodir}"
 FILES:lib${BPN}-staticdev = "${libdir}/lib*.a"
-- 
2.43.0



                 reply	other threads:[~2026-10-12 16:03 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20261012160319.1965203-1-ecordonnier@snap.com \
    --to=ecordonnier@snap.com \
    --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