[yocto] .rpm packaging weirdness of dynamic libraries

Burton, Ross ross.burton at intel.com
Thu May 23 11:31:17 PDT 2013


On 23 May 2013 18:16, Hans Beckérus <hans.beckerus at gmail.com> wrote:
> Hmm. I tried the FILES trick, but either I am doing something wrong or
> FILES does not really affect whats getting into the .rpm? This is what
> I tried in our recipe
>
> FILES_${PN} += " ${exec_prefix}/usr/lib/libelinx.so"
> FILES_${PN} += " ${exec_prefix}/usr/lib/libepmq.so"

Use ${libdir} instead of exec_prefix/usr/lib, and I guess the default
FILES_${PN}-dev is taking the files first.  Try setting that to "".

Ross



More information about the yocto mailing list