mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-13 14:00:26 +00:00
libreport calls xmlrpc-c-config from package xmlrpc-c-native to get
cflags and libs. But it gets dirs in ${STAGING_DIR_NATIVE} which make
lib32-libreport compile failed with config:
require conf/multilib.conf
MACHINE = "qemuarm64"
MULTILIBS = "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 = "armv7vethf"
| arm-wrs-linux-gnueabi-libtool: link: (cd ".libs" && rm -f "libabrt_dbus.so"
&& ln -s "libabrt_dbus.so.0.0.1" "libabrt_dbus.so")
| .../tmp-glibc/work/armv5e-wrs-linux-gnueabi/libreport/2.9.7-r0/recipe-sysroot-native/usr/lib/libxml2.so:
file not recognized: file format not recognized
| collect2: error: ld returned 1 exit status
| make[3]: *** [Makefile:780: libreport-web.la] Error 1
Make xmlrpc-c inherit binconfig to avoid such kind of errors.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>