I was able to make it work correctly enabling CMAKE_SKIP_RPATH.
Here the working full recipe:
LICENSE = "NCSA"
LIC_FILES_CHKSUM = "file://LICENSE.TXT;md5=59d01ad98720f3c50d6a8a0ef3108c88 \
file://iwyu-check-license-header.py;md5=cdc4ab52c0b26e216cbf434649d30403"
SRC_URI =
"git://github.com/include-what-you-use/include-what-you-use.git;protocol=https;branch=clang_10"
PV = "0.14+git${SRCPV}"
SRCREV = "0.14"
S = "${WORKDIR}/git"
DEPENDS = "clang"
inherit cmake python3native
EXTRA_OECMAKE_append_class-nativesdk = " \
-DCMAKE_SKIP_RPATH:BOOL=ON \
"
BBCLASSEXTEND_append = " \
nativesdk \
"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#53979): https://lists.yoctoproject.org/g/yocto/message/53979
Mute This Topic: https://lists.yoctoproject.org/mt/83279588/21656
Mute #sdk:https://lists.yoctoproject.org/g/yocto/mutehashtag/sdk
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-