Commit Graph

3 Commits

Author SHA1 Message Date
Hongzhi.Song
376eb385a5 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>
2018-09-12 07:08:11 -07:00
dengke.du@windriver.com
a8c59cfdee snappy: add -fPIC flags
Let the libsnappy.a be position independent code, so other packages can use it
to make shared PIC library, such as ceph.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-28 09:36:28 -07:00
Hongzhi.Song
a79ca68311 snappy: add a new recipe
Snappy is a compression/decompression library. It does not aim for
maximum compression, or compatibility with any other compression
library; instead, it aims for very high speeds and reasonable compression.

Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2018-08-02 02:12:15 -07:00