mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 13:46:32 +00:00
package/leveldb: turn snappy into an optional dependency
snappy is not a mandatory dependency to build leveldb. Back when it was introduced in Buildroot, as of version 1.18, the build logic already made snappy an optional dependency. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
00c1a8c34f
commit
39ef24f8bb
@ -3,7 +3,6 @@ config BR2_PACKAGE_LEVELDB
|
|||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||||
select BR2_PACKAGE_SNAPPY
|
|
||||||
help
|
help
|
||||||
LevelDB is a fast key-value storage library written at Google
|
LevelDB is a fast key-value storage library written at Google
|
||||||
that provides an ordered mapping from string keys to string
|
that provides an ordered mapping from string keys to string
|
||||||
|
@ -9,9 +9,12 @@ LEVELDB_SITE = $(call github,google,leveldb,$(LEVELDB_VERSION))
|
|||||||
LEVELDB_LICENSE = BSD-3-Clause
|
LEVELDB_LICENSE = BSD-3-Clause
|
||||||
LEVELDB_LICENSE_FILES = LICENSE
|
LEVELDB_LICENSE_FILES = LICENSE
|
||||||
LEVELDB_INSTALL_STAGING = YES
|
LEVELDB_INSTALL_STAGING = YES
|
||||||
LEVELDB_DEPENDENCIES = snappy
|
|
||||||
LEVELDB_CONF_OPTS = \
|
LEVELDB_CONF_OPTS = \
|
||||||
-DLEVELDB_BUILD_BENCHMARKS=OFF \
|
-DLEVELDB_BUILD_BENCHMARKS=OFF \
|
||||||
-DLEVELDB_BUILD_TESTS=OFF
|
-DLEVELDB_BUILD_TESTS=OFF
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_SNAPPY),y)
|
||||||
|
LEVELDB_DEPENDENCIES += snappy
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(cmake-package))
|
$(eval $(cmake-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user