FILES_${PN}-xxx under packages-split/ depend on FILES_${PN}.
But the FILES_${PN} is empty. This is because snappy doesn't
generate shared library by default.So we should modify cmake variable to generate shared library. Signed-off-by: Hongzhi.Song <[email protected]> --- meta-oe/recipes-extended/snappy/snappy_1.1.7.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-oe/recipes-extended/snappy/snappy_1.1.7.bb b/meta-oe/recipes-extended/snappy/snappy_1.1.7.bb index 70223be49..9f37c5fc2 100644 --- a/meta-oe/recipes-extended/snappy/snappy_1.1.7.bb +++ b/meta-oe/recipes-extended/snappy/snappy_1.1.7.bb @@ -20,3 +20,6 @@ inherit cmake pkgconfig PACKAGECONFIG ??= "" PACKAGECONFIG[lzo] = "-DHAVE_LIBLZO2=1,-DHAVE_LIBLZO2=0,lzo," TARGET_CFLAGS += "-fPIC" + +EXTRA_OECMAKE += '-DBUILD_SHARED_LIBS="ON" \ + ' -- 2.11.0 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
