[OE-core] [PATCH 15/39] db: Ensure the library version matches package version
Saul Wold
sgw at linux.intel.com
Tue Jun 19 15:59:33 UTC 2012
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-support/db/db_5.3.15.bb | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/meta/recipes-support/db/db_5.3.15.bb b/meta/recipes-support/db/db_5.3.15.bb
index a34ad24..0df874e 100644
--- a/meta/recipes-support/db/db_5.3.15.bb
+++ b/meta/recipes-support/db/db_5.3.15.bb
@@ -45,15 +45,16 @@ B = "${WORKDIR}/db-${PV}/build_unix"
# The executables go in a separate package - typically there
# is no need to install these unless doing real database
# management on the system.
-PACKAGES += " ${PN}-bin"
+inherit lib_package
# Package contents
-FILES_${PN} = "${libdir}/libdb-5*so*"
FILES_${PN}-bin = "${bindir}/*"
# The dev package has the .so link (as in db3) and the .a's -
# it is therefore incompatible (cannot be installed at the
-# same time) as the db3 package, allow the default packaging
-# to sort out ${libdir}
+# same time) as the db3 package
+# sort out the .so since they do version prior to the .so
+SOLIBS = "-5*.so"
+FILES_SOLIBSDEV = "${libdir}/libdb.so"
#configuration - set in local.conf to override
# All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix)
--
1.7.7.6
More information about the Openembedded-core
mailing list