mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 05:10:20 +00:00
evolution-data-server: Disable g-i on musl
g-i calls on musl are adding -L/usr/lib to linker path which confuses the build as it tried to use the libraries from build host and fails badly Fixes aarch64-yoe-linux-musl-ld: warning: library search path "/usr/lib" is unsafe for cross-compilation ... | /mnt/b/yoe/master/build/tmp/work/cortexa72-yoe-linux-musl/evolution-data-server/3.44.0-r0/recipe-sysroot-native/usr/bin/aarch64-yoe-linux-musl/aarch64-yoe-linux-musl-ld: skipping incompa tible /usr/lib/libunwind.so when searching for -l:libunwind.so | Error relocating /usr/lib/libz.so.1: unsupported relocation type 8 | Error relocating /usr/lib/libz.so.1: unsupported relocation type 8 Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
@@ -48,6 +48,9 @@ PACKAGECONFIG[openldap] = "-DWITH_OPENLDAP=ON,-DWITH_OPENLDAP=OFF,openldap"
|
||||
# -ldb needs this on some platforms
|
||||
LDFLAGS += "-lpthread -lgmodule-2.0 -lgthread-2.0"
|
||||
|
||||
# invokes libraries from build host
|
||||
GI_DATA_ENABLED:libc-musl="False"
|
||||
|
||||
do_configure:append () {
|
||||
cp ${WORKDIR}/iconv-detect.h ${S}/src
|
||||
# avoid writing perl-native path into csv2vcard shebang
|
||||
|
||||
Reference in New Issue
Block a user