Added static lz4 support for roccksjavastatic
Added static lz4 support for roccksjavastatic

Usage:
make clean rocksdbjavastatic

Dependency:
LZ4

To install LZ4:
git clone https://github.com/Cyan4973/lz4.git && \
cd lz4/lib && \
make install

Alternativel installation method:
curl -O https://codeload.github.com/Cyan4973/lz4/tar.gz/r127
mv r127 lz4-r127.tar.gz
tar xvzf lz4-r127.tar.gz
cd lz4-r127/lib && \
make install

Signed-off-by: Pooya Shareghi <c6eddaba2afc878515dbd082b1d0e6909e9355a9@gmail.com>

skunkwerks/rocksdb,wenduo/rocksdb,anagav/rocksdb,JoeWoo/rocksdb,geraldoandradee/rocksdb,fengshao0907/rocksdb,virtdb/rocksdb,zhangpng/rocksdb,fengshao0907/rocksdb,makelivedotnet/rocksdb,biddyweb/rocksdb,sorphi/rocksdb,sorphi/rocksdb,kaschaeffer/rocksdb,caijieming-baidu/rocksdb,bbiao/rocksdb,SunguckLee/RocksDB,IMCG/RcoksDB,geraldoandradee/rocksdb,SunguckLee/RocksDB,hobinyoon/rocksdb,biddyweb/rocksdb,facebook/rocksdb,IMCG/RcoksDB,zhangpng/rocksdb,fengshao0907/rocksdb,wat-ze-hex/rocksdb,norton/rocksdb,caijieming-baidu/rocksdb,flabby/rocksdb,IMCG/RcoksDB,NickCis/rocksdb,flabby/rocksdb,wskplho/rocksdb,JoeWoo/rocksdb,tsheasha/rocksdb,bbiao/rocksdb,wlqGit/rocksdb,wlqGit/rocksdb,wat-ze-hex/rocksdb,facebook/rocksdb,caijieming-baidu/rocksdb,Vaisman/rocksdb,Andymic/rocksdb,fengshao0907/rocksdb,Vaisman/rocksdb,Applied-Duality/rocksdb,norton/rocksdb,ryneli/rocksdb,OverlordQ/rocksdb,jalexanderqed/rocksdb,lgscofield/rocksdb,NickCis/rocksdb,NickCis/rocksdb,vmx/rocksdb,vashstorm/rocksdb,luckywhu/rocksdb,virtdb/rocksdb,lgscofield/rocksdb,alihalabyah/rocksdb,dkorolev/rocksdb,temicai/rocksdb,Vaisman/rocksdb,Applied-Duality/rocksdb,IMCG/RcoksDB,mbarbon/rocksdb,temicai/rocksdb,OverlordQ/rocksdb,OverlordQ/rocksdb,RyanTech/rocksdb,JackLian/rocksdb,sorphi/rocksdb,dkorolev/rocksdb,kaschaeffer/rocksdb,zhangpng/rocksdb,hobinyoon/rocksdb,NickCis/rocksdb,tsheasha/rocksdb,tizzybec/rocksdb,zhangpng/rocksdb,IMCG/RcoksDB,zhangpng/rocksdb,skunkwerks/rocksdb,Applied-Duality/rocksdb,Andymic/rocksdb,dkorolev/rocksdb,virtdb/rocksdb,fengshao0907/rocksdb,alihalabyah/rocksdb,anagav/rocksdb,bbiao/rocksdb,lgscofield/rocksdb,vashstorm/rocksdb,SunguckLee/RocksDB,mbarbon/rocksdb,caijieming-baidu/rocksdb,Applied-Duality/rocksdb,makelivedotnet/rocksdb,geraldoandradee/rocksdb,vmx/rocksdb,siddhartharay007/rocksdb,vmx/rocksdb,Andymic/rocksdb,luckywhu/rocksdb,jalexanderqed/rocksdb,wat-ze-hex/rocksdb,ryneli/rocksdb,biddyweb/rocksdb,norton/rocksdb,vmx/rocksdb,facebook/rocksdb,rDSN-Projects/rocksdb.replicated,tizzybec/rocksdb,ylong/rocksdb,alihalabyah/rocksdb,Andymic/rocksdb,tsheasha/rocksdb,siddhartharay007/rocksdb,alihalabyah/rocksdb,tsheasha/rocksdb,anagav/rocksdb,caijieming-baidu/rocksdb,lgscofield/rocksdb,Andymic/rocksdb,OverlordQ/rocksdb,JohnPJenkins/rocksdb,rDSN-Projects/rocksdb.replicated,jalexanderqed/rocksdb,luckywhu/rocksdb,virtdb/rocksdb,biddyweb/rocksdb,tizzybec/rocksdb,virtdb/rocksdb,anagav/rocksdb,vashstorm/rocksdb,facebook/rocksdb,bbiao/rocksdb,kaschaeffer/rocksdb,wlqGit/rocksdb,kaschaeffer/rocksdb,RyanTech/rocksdb,ylong/rocksdb,Vaisman/rocksdb,ryneli/rocksdb,norton/rocksdb,OverlordQ/rocksdb,NickCis/rocksdb,wlqGit/rocksdb,JackLian/rocksdb,vmx/rocksdb,flabby/rocksdb,rDSN-Projects/rocksdb.replicated,ryneli/rocksdb,rDSN-Projects/rocksdb.replicated,virtdb/rocksdb,wlqGit/rocksdb,temicai/rocksdb,skunkwerks/rocksdb,mbarbon/rocksdb,tsheasha/rocksdb,SunguckLee/RocksDB,norton/rocksdb,makelivedotnet/rocksdb,ylong/rocksdb,norton/rocksdb,flabby/rocksdb,wlqGit/rocksdb,norton/rocksdb,wlqGit/rocksdb,siddhartharay007/rocksdb,makelivedotnet/rocksdb,wenduo/rocksdb,biddyweb/rocksdb,NickCis/rocksdb,hobinyoon/rocksdb,jalexanderqed/rocksdb,JackLian/rocksdb,caijieming-baidu/rocksdb,sorphi/rocksdb,vashstorm/rocksdb,hobinyoon/rocksdb,temicai/rocksdb,facebook/rocksdb,flabby/rocksdb,mbarbon/rocksdb,norton/rocksdb,wenduo/rocksdb,JohnPJenkins/rocksdb,luckywhu/rocksdb,lgscofield/rocksdb,wskplho/rocksdb,RyanTech/rocksdb,OverlordQ/rocksdb,SunguckLee/RocksDB,mbarbon/rocksdb,hobinyoon/rocksdb,JackLian/rocksdb,wskplho/rocksdb,Andymic/rocksdb,RyanTech/rocksdb,rDSN-Projects/rocksdb.replicated,JackLian/rocksdb,geraldoandradee/rocksdb,RyanTech/rocksdb,wenduo/rocksdb,skunkwerks/rocksdb,RyanTech/rocksdb,tsheasha/rocksdb,fengshao0907/rocksdb,rDSN-Projects/rocksdb.replicated,JoeWoo/rocksdb,IMCG/RcoksDB,alihalabyah/rocksdb,wenduo/rocksdb,siddhartharay007/rocksdb,makelivedotnet/rocksdb,JoeWoo/rocksdb,wat-ze-hex/rocksdb,vmx/rocksdb,lgscofield/rocksdb,tsheasha/rocksdb,mbarbon/rocksdb,wat-ze-hex/rocksdb,temicai/rocksdb,kaschaeffer/rocksdb,vashstorm/rocksdb,bbiao/rocksdb,JohnPJenkins/rocksdb,geraldoandradee/rocksdb,biddyweb/rocksdb,skunkwerks/rocksdb,Andymic/rocksdb,hobinyoon/rocksdb,ylong/rocksdb,hobinyoon/rocksdb,wat-ze-hex/rocksdb,JohnPJenkins/rocksdb,wenduo/rocksdb,siddhartharay007/rocksdb,JackLian/rocksdb,virtdb/rocksdb,fengshao0907/rocksdb,geraldoandradee/rocksdb,wskplho/rocksdb,wenduo/rocksdb,Vaisman/rocksdb,Applied-Duality/rocksdb,JackLian/rocksdb,JohnPJenkins/rocksdb,luckywhu/rocksdb,sorphi/rocksdb,zhangpng/rocksdb,JoeWoo/rocksdb,dkorolev/rocksdb,vmx/rocksdb,wat-ze-hex/rocksdb,siddhartharay007/rocksdb,wskplho/rocksdb,NickCis/rocksdb,vmx/rocksdb,vashstorm/rocksdb,ryneli/rocksdb,facebook/rocksdb,flabby/rocksdb,temicai/rocksdb,bbiao/rocksdb,facebook/rocksdb,dkorolev/rocksdb,zhangpng/rocksdb,tizzybec/rocksdb,jalexanderqed/rocksdb,tizzybec/rocksdb,JoeWoo/rocksdb,Applied-Duality/rocksdb,sorphi/rocksdb,tizzybec/rocksdb,Vaisman/rocksdb,makelivedotnet/rocksdb,sorphi/rocksdb,jalexanderqed/rocksdb,siddhartharay007/rocksdb,wskplho/rocksdb,anagav/rocksdb,dkorolev/rocksdb,JoeWoo/rocksdb,geraldoandradee/rocksdb,SunguckLee/RocksDB,hobinyoon/rocksdb,biddyweb/rocksdb,anagav/rocksdb,skunkwerks/rocksdb,flabby/rocksdb,skunkwerks/rocksdb,facebook/rocksdb,ylong/rocksdb,RyanTech/rocksdb,ryneli/rocksdb,ylong/rocksdb,caijieming-baidu/rocksdb,Vaisman/rocksdb,anagav/rocksdb,Applied-Duality/rocksdb,JohnPJenkins/rocksdb,kaschaeffer/rocksdb,bbiao/rocksdb,kaschaeffer/rocksdb,wskplho/rocksdb,alihalabyah/rocksdb,tizzybec/rocksdb,bbiao/rocksdb,alihalabyah/rocksdb,luckywhu/rocksdb,ylong/rocksdb,dkorolev/rocksdb,makelivedotnet/rocksdb,Andymic/rocksdb,ryneli/rocksdb,jalexanderqed/rocksdb,rDSN-Projects/rocksdb.replicated,luckywhu/rocksdb,lgscofield/rocksdb,vashstorm/rocksdb,temicai/rocksdb,tsheasha/rocksdb,mbarbon/rocksdb,JohnPJenkins/rocksdb,IMCG/RcoksDB,SunguckLee/RocksDB,OverlordQ/rocksdb,wenduo/rocksdb,SunguckLee/RocksDB,wat-ze-hex/rocksdb