]> code.ossystems Code Review - openembedded-core.git/commitdiff
db: do the multilib_header processing for db.h
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Fri, 10 Mar 2017 11:24:21 +0000 (13:24 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Mar 2017 16:08:49 +0000 (16:08 +0000)
As it varies from one machine to another.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/db/db_5.3.28.bb

index 0b51a1d4403b3b564dd847682b9cea0848f89ab7..1b25fd4685bc439898bbad1edfe2676c40994c69 100644 (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