diff --git a/Makefile b/Makefile index 4beb74938..9bc34fbb7 100644 --- a/Makefile +++ b/Makefile @@ -97,7 +97,9 @@ BENCHMARKS = db_bench_sqlite3 db_bench_tree_db table_reader_bench # The library name is configurable since we are maintaining libraries of both # debug/release mode. -LIBNAME = librocksdb +ifeq ($(LIBNAME),) + LIBNAME=librocksdb +endif LIBRARY = ${LIBNAME}.a MEMENVLIBRARY = libmemenv.a