From: Fabrice Fontaine Date: Fri, 14 Feb 2020 16:44:10 +0000 (+0100) Subject: package/rocksdb: add gflags optional dependency X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=589849add79c3c4e15c06fd13012154f550e029b;p=buildroot.git package/rocksdb: add gflags optional dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- diff --git a/package/rocksdb/rocksdb.mk b/package/rocksdb/rocksdb.mk index e2a72b4dbe..8109605916 100644 --- a/package/rocksdb/rocksdb.mk +++ b/package/rocksdb/rocksdb.mk @@ -19,6 +19,13 @@ else ROCKSDB_CONF_OPTS += ROCKSDB_DISABLE_BZ2=1 endif +ifeq ($(BR2_PACKAGE_GFLAGS),y) +ROCKSDB_DEPENDENCIES += gflags +ROCKSDB_MAKE_OPTS += ROCKSDB_DISABLE_GFLAGS=0 +else +ROCKSDB_MAKE_OPTS += ROCKSDB_DISABLE_GFLAGS=1 +endif + ifeq ($(BR2_PACKAGE_JEMALLOC),y) ROCKSDB_DEPENDENCIES += jemalloc ROCKSDB_MAKE_OPTS += ROCKSDB_DISABLE_JEMALLOC=0