From 376eb385a519875683665760bcf4f83b940890a4 Mon Sep 17 00:00:00 2001 From: "Hongzhi.Song" Date: Wed, 12 Sep 2018 05:09:10 -0700 Subject: snappy: modify cmake variable to generate shared library 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 Signed-off-by: Khem Raj --- 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" \ + ' -- cgit v1.2.3-54-g00ecf