[oe-commits] [meta-openembedded] 02/15: snappy: modify cmake variable to generate shared library

git at git.openembedded.org git at git.openembedded.org
Fri Sep 14 04:50:35 UTC 2018


This is an automated email from the git hooks/post-receive script.

khem pushed a commit to branch master-next
in repository meta-openembedded.

commit 376eb385a519875683665760bcf4f83b940890a4
Author: Hongzhi.Song <hongzhi.song at windriver.com>
AuthorDate: Wed Sep 12 05:09:10 2018 -0700

    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 <hongzhi.song at windriver.com>
    Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 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 70223be..9f37c5f 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" \
+                  '

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list