package/rocksdb: fix build without dlfcn.h
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sat, 28 Mar 2020 15:58:29 +0000 (16:58 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 29 Mar 2020 13:49:21 +0000 (15:49 +0200)
Fixes:
 - http://autobuild.buildroot.org/results/04c5afff034d8d71d11b95c998e3156292852de6

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/rocksdb/rocksdb.mk

index 86732ad46c23a1520a843b35fc16efbbfb7f9bf5..31a9f98b550ed15a88a8e2075128c9dcd9d5e8e1 100644 (file)
@@ -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