I am trying to build Linux distribution using Yocto project, the target board is STM32MP157A-DK1 board ,I am using distribution package and meta data delivered by STMicroelectronics for OpenSTLinux.
I want to add c++ library based on cmake to my distribution.
I crated the recipe using command
devtool add --no-same-dir ../pass/to/mylib
Then build using
bitbake mylib
The build is done but I get this error by do_package_qa
"do_package_qa: QA Issue: -dev package mylib-dev contains non-symlink .so '/usr/lib/mylib.so' [dev-elf]"
what is the reason for such error and how to overcome it?