在yocto项目中创建符号链接失败

时间:2019-03-18 08:42:21

标签: cmake yocto

错误日志, do_package_qa

QA Issue: non -dev/-dbg/nativesdk- package contains symlink .so

源代码 CMakeList.txt

SET_TARGET_PROPERTIES(${TARGETNAME} PROPERTIES VERSION 1.0 SOVERSION 1)

是否需要添加诸如-dev-dbg之类的参数?

1 个答案:

答案 0 :(得分:0)

您需要手动为do_install()PACKAGE_${PN}-dev中安装这些* .so文件并对其进行符号链接,或者将以下内容添加到配方中:

FILES_SOLIBSDEV = ""
SOLIBS = ".so"