]> code.ossystems Code Review - openembedded-core.git/commitdiff
db: Ensure the library version matches package version
authorSaul Wold <sgw@linux.intel.com>
Tue, 12 Jun 2012 23:19:47 +0000 (16:19 -0700)
committerSaul Wold <sgw@linux.intel.com>
Wed, 20 Jun 2012 04:59:51 +0000 (21:59 -0700)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-support/db/db_5.3.15.bb

index a34ad24a74fed9a205aced84775a2619d479a714..0df874e29bdd0288e1e757e924bd3a0d8ced17a5 100644 (file)
@@ -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)