diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-06-12 16:19:47 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-21 13:02:58 +0100 |
commit | fbe245a9746eeb5675e3db7ce0d8e53b77a4ceea (patch) | |
tree | a8d4f1faa45bb31b6ff4d339341d7ea5f89843db /meta/recipes-support/db | |
parent | e4f118451063e52657cd9e52bec558b234cdba5e (diff) | |
download | poky-fbe245a9746eeb5675e3db7ce0d8e53b77a4ceea.tar.gz |
db: Ensure the library version matches package version
(From OE-Core rev: da10929059a4aba232d904d7a0d0a54715126c83)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/db')
-rw-r--r-- | 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 a34ad24a74..0df874e29b 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" | |||
45 | # The executables go in a separate package - typically there | 45 | # The executables go in a separate package - typically there |
46 | # is no need to install these unless doing real database | 46 | # is no need to install these unless doing real database |
47 | # management on the system. | 47 | # management on the system. |
48 | PACKAGES += " ${PN}-bin" | 48 | inherit lib_package |
49 | 49 | ||
50 | # Package contents | 50 | # Package contents |
51 | FILES_${PN} = "${libdir}/libdb-5*so*" | ||
52 | FILES_${PN}-bin = "${bindir}/*" | 51 | FILES_${PN}-bin = "${bindir}/*" |
53 | # The dev package has the .so link (as in db3) and the .a's - | 52 | # The dev package has the .so link (as in db3) and the .a's - |
54 | # it is therefore incompatible (cannot be installed at the | 53 | # it is therefore incompatible (cannot be installed at the |
55 | # same time) as the db3 package, allow the default packaging | 54 | # same time) as the db3 package |
56 | # to sort out ${libdir} | 55 | # sort out the .so since they do version prior to the .so |
56 | SOLIBS = "-5*.so" | ||
57 | FILES_SOLIBSDEV = "${libdir}/libdb.so" | ||
57 | 58 | ||
58 | #configuration - set in local.conf to override | 59 | #configuration - set in local.conf to override |
59 | # All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix) | 60 | # All the --disable-* options replace --enable-smallbuild, which breaks a bunch of stuff (eg. postfix) |