From: Fabrice Fontaine Date: Sat, 28 Mar 2020 15:58:29 +0000 (+0100) Subject: package/rocksdb: fix build without dlfcn.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e054d20cbc8ff0da0c5fe189ab5542d2beaeeed;p=buildroot.git package/rocksdb: fix build without dlfcn.h Fixes: - http://autobuild.buildroot.org/results/04c5afff034d8d71d11b95c998e3156292852de6 Signed-off-by: Fabrice Fontaine Signed-off-by: Thomas Petazzoni --- diff --git a/package/rocksdb/rocksdb.mk b/package/rocksdb/rocksdb.mk index 86732ad46c..31a9f98b55 100644 --- a/package/rocksdb/rocksdb.mk +++ b/package/rocksdb/rocksdb.mk @@ -70,6 +70,7 @@ endif ifeq ($(BR2_STATIC_LIBS),y) ROCKSDB_BUILD_TARGETS += static_lib ROCKSDB_INSTALL_TARGETS += install-static +ROCKSDB_EXTRA_CXXFLAGS += -DROCKSDB_NO_DYNAMIC_EXTENSION else ifeq ($(BR2_SHARED_LIBS),y) ROCKSDB_BUILD_TARGETS += shared_lib ROCKSDB_INSTALL_TARGETS += install-shared