mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
xmlrpc-c: inherit binconfig
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>
This commit is contained in:
@@ -17,7 +17,7 @@ S = "${WORKDIR}/git/stable"
|
||||
DEPENDS = "libxml2"
|
||||
RDEPENDS_${PN} = "perl"
|
||||
|
||||
inherit autotools-brokensep pkgconfig
|
||||
inherit autotools-brokensep binconfig pkgconfig
|
||||
|
||||
TARGET_CFLAGS += "-Wno-narrowing"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user