]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
libgpg-error: Fix multilib header conflict - pg-error.h and gpgrt.h
authorZhang Xiao <xiao.zhang@windriver.com>
Mon, 12 Mar 2018 00:32:56 +0000 (17:32 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 15 Mar 2018 10:38:48 +0000 (03:38 -0700)
Header file conflict between 32-bit and 64-bit versions.

Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/libgpg-error/libgpg-error_1.27.bb

index b2e2d507c919d888d4b3ccdedf900e5a7894778d..b74f079f5d6ccd7c5e91bd154fbfb635f2b02449 100644 (file)
@@ -21,7 +21,7 @@ SRC_URI[sha256sum] = "4f93aac6fecb7da2b92871bb9ee33032be6a87b174f54abf8ddf0911a2
 
 BINCONFIG = "${bindir}/gpg-error-config"
 
-inherit autotools binconfig-disabled pkgconfig gettext
+inherit autotools binconfig-disabled pkgconfig gettext multilib_header
 CPPFLAGS += "-P"
 do_compile_prepend() {
        TARGET_FILE=linux-gnu
@@ -53,6 +53,7 @@ do_compile_prepend() {
 do_install_append() {
        # we don't have common lisp in OE
        rm -rf "${D}${datadir}/common-lisp/"
+       oe_multilib_header gpg-error.h gpgrt.h
 }
 
 FILES_${PN}-dev += "${bindir}/gpg-error"