Merge pull request #8625 from ts468/upstream.leveldb
Leveldb: export helper functions of leveldb
This commit is contained in:
commit
e2136f6fec
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ sqlite kyotocabinet ];
|
buildInputs = [ sqlite kyotocabinet ];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
make all db_bench{,_sqlite3,_tree_db} leveldbutil
|
make all db_bench{,_sqlite3,_tree_db} leveldbutil libmemenv.a
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = "
|
installPhase = "
|
||||||
@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
|
|||||||
cp -r include $out
|
cp -r include $out
|
||||||
cp lib* $out/lib
|
cp lib* $out/lib
|
||||||
cp db_bench{,_sqlite3,_tree_db} leveldbutil $out/bin
|
cp db_bench{,_sqlite3,_tree_db} leveldbutil $out/bin
|
||||||
|
mkdir -p $out/include/leveldb/helpers
|
||||||
|
cp helpers/memenv/memenv.h $out/include/leveldb/helpers
|
||||||
";
|
";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user