Skip to contentSkip to conversation

sqlite3: use SOLIBS and SOLIBSDEV in FILES

PATCH New [email protected] 1 participant 1 message Oct 12

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sqlite3: use SOLIBS and SOLIBSDEV in FILES

From: Etienne Cordonnier <[email protected]>

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

---
 meta/recipes-support/sqlite/sqlite3_3.53.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-support/sqlite/sqlite3_3.53.4.bb +2 -2
index 137ec26207..3e13dbdbfd 100644
@@ -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"
Signature · 1 line
2.43.0