mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
f642e61588
If CVE_PRODUCT is not explicitly set to google:snappy, CVEs are
found for https://github.com/KnpLabs/snappy instead.
Signed-off-by: Emil Kronborg Andersen <emkan@prevas.dk>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b888130e95)
Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com>
29 lines
936 B
BlitzBasic
29 lines
936 B
BlitzBasic
#
|
|
# Copyright (C) 2014 Wind River Systems, Inc.
|
|
# Released under the BSD-3-Clause license (see COPYING.BSD-3 for the terms)
|
|
#
|
|
SUMMARY = "A compression/decompression library"
|
|
DESCRIPTION = "Snappy is a fast data compression and decompression library \
|
|
It was designed to be very fast and stable, but not to achieve a high \
|
|
compression ratio."
|
|
|
|
LICENSE = "BSD-3-Clause"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=f62f3080324a97b3159a7a7e61812d0c"
|
|
|
|
SRC_URI = "gitsm://github.com/google/snappy.git;protocol=https;branch=main \
|
|
file://0001-Add-inline-with-SNAPPY_ATTRIBUTE_ALWAYS_INLINE.patch \
|
|
"
|
|
SRCREV = "2b63814b15a2aaae54b7943f0cd935892fae628f"
|
|
S = "${WORKDIR}/git"
|
|
|
|
|
|
inherit cmake pkgconfig
|
|
|
|
PACKAGECONFIG ??= ""
|
|
PACKAGECONFIG[lzo] = "-DHAVE_LIBLZO2=1,-DHAVE_LIBLZO2=0,lzo,"
|
|
TARGET_CFLAGS += "-fPIC"
|
|
|
|
EXTRA_OECMAKE += '-DBUILD_SHARED_LIBS="ON" -DSNAPPY_BUILD_TESTS="OFF" -DSNAPPY_BUILD_BENCHMARKS="OFF"'
|
|
|
|
CVE_PRODUCT = "google:snappy"
|