db: do the multilib_header processing for db.h

As it varies from one machine to another.

(From OE-Core rev: e34ac7634a6d1f110ee4748de813e7b1fd89d119)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin 2017-03-10 13:24:21 +02:00 committed by Richard Purdie
parent 852e8048d1
commit b9c986b0f3
1 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,7 @@ SRC_URI[sha256sum] = "e0a992d740709892e81f9d93f06daf305cf73fb81b545afe7247804317
LIC_FILES_CHKSUM = "file://LICENSE;md5=ed1158e31437f4f87cdd4ab2b8613955"
inherit autotools
inherit autotools multilib_header
# Put virtual/db in any appropriate provider of a
# relational database, use it as a dependency in
@ -95,6 +95,8 @@ do_install_append() {
ln -s db51/db.h ${D}/${includedir}/db.h
ln -s db51/db_cxx.h ${D}/${includedir}/db_cxx.h
oe_multilib_header db51/db.h
# The docs end up in /usr/docs - not right.
if test -d "${D}/${prefix}/docs"
then