From 896f641ff0c347aa9874746b226de514c33260f1 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 17 Mar 2020 19:35:53 -0700 Subject: openmp: Fix build packaging with multilib suffix Add missing rdeps on libelf and libffi Signed-off-by: Khem Raj --- recipes-devtools/clang/openmp_git.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-devtools/clang/openmp_git.bb b/recipes-devtools/clang/openmp_git.bb index 501ee5a..a4faeaa 100644 --- a/recipes-devtools/clang/openmp_git.bb +++ b/recipes-devtools/clang/openmp_git.bb @@ -17,6 +17,8 @@ LIC_FILES_CHKSUM = "file://openmp/LICENSE.txt;md5=d75288d1ce0450b28b8d58a284c09c inherit cmake pkgconfig perlnative +EXTRA_OECMAKE += "-DOPENMP_LIBDIR_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" + OECMAKE_SOURCEPATH = "${S}/openmp" PACKAGECONFIG ?= "ompt-tools" @@ -33,3 +35,5 @@ INSANE_SKIP_${PN} = "dev-so" COMPATIBLE_HOST_riscv64 = "null" COMPATIBLE_HOST_riscv32 = "null" COMPATIBLE_HOST_mips64 = "null" + +RDEPENDS_${PN} = "libelf libffi" -- cgit v1.2.3-54-g00ecf