mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
rocksdb_lite: Fix
This commit is contained in:
parent
b705ac629f
commit
3f9876a253
@ -43,7 +43,7 @@ stdenv.mkDerivation rec {
|
||||
CMAKE_CXX_FLAGS = "-std=gnu++11";
|
||||
JEMALLOC_LIB = stdenv.lib.optionalString (malloc == jemalloc) "-ljemalloc";
|
||||
|
||||
${if enableLite then "LIBNAME" else null} = "librocksdb_lite";
|
||||
LIBNAME = "librocksdb${stdenv.lib.optionalString enableLite "_lite"}";
|
||||
${if enableLite then "CXXFLAGS" else null} = "-DROCKSDB_LITE=1";
|
||||
|
||||
buildAndInstallFlags = [
|
||||
@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
|
||||
echo "BUILD CONFIGURATION FOR SANITY CHECKING"
|
||||
cat make_config.mk
|
||||
mkdir -pv $static/lib/
|
||||
mv -vi $out/lib/librocksdb.a $static/lib/
|
||||
mv -vi $out/lib/${LIBNAME}.a $static/lib/
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
Loading…
Reference in New Issue
Block a user