diff options
author | Hongzhi.Song <hongzhi.song@windriver.com> | 2018-09-12 05:09:10 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-09-12 07:08:11 -0700 |
commit | 376eb385a519875683665760bcf4f83b940890a4 (patch) | |
tree | 30e78142d15776ed4da568133e5fdd8f1ab213bc /meta-oe/recipes-extended | |
parent | b0ece93cbd17a135bfd15ad8aac67803c9cc0d4e (diff) | |
download | meta-openembedded-376eb385a519875683665760bcf4f83b940890a4.tar.gz |
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@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/snappy/snappy_1.1.7.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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 | |||
20 | PACKAGECONFIG ??= "" | 20 | PACKAGECONFIG ??= "" |
21 | PACKAGECONFIG[lzo] = "-DHAVE_LIBLZO2=1,-DHAVE_LIBLZO2=0,lzo," | 21 | PACKAGECONFIG[lzo] = "-DHAVE_LIBLZO2=1,-DHAVE_LIBLZO2=0,lzo," |
22 | TARGET_CFLAGS += "-fPIC" | 22 | TARGET_CFLAGS += "-fPIC" |
23 | |||
24 | EXTRA_OECMAKE += '-DBUILD_SHARED_LIBS="ON" \ | ||
25 | ' | ||