From 589849add79c3c4e15c06fd13012154f550e029b Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Fri, 14 Feb 2020 17:44:10 +0100 Subject: [PATCH] package/rocksdb: add gflags optional dependency Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- package/rocksdb/rocksdb.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2