Ensure compression (lz4) support when building from src
This commit is contained in:
parent
35c79aaa32
commit
2b96f189fd
@ -1,4 +1,11 @@
|
|||||||
%% -*- erlang-mode -*-
|
%% -*- erlang-mode -*-
|
||||||
|
case os:getenv("ERLANG_ROCKSDB_OPTS") of
|
||||||
|
false ->
|
||||||
|
true = os:putenv("ERLANG_ROCKSDB_OPTS", "-DWITH_BUNDLE_LZ4=ON");
|
||||||
|
_ ->
|
||||||
|
%% If manually set, we assume it's throught through
|
||||||
|
skip
|
||||||
|
end.
|
||||||
case os:getenv("DEBUG") of
|
case os:getenv("DEBUG") of
|
||||||
"true" ->
|
"true" ->
|
||||||
Opts = proplists:get_value(erl_opts, CONFIG, []),
|
Opts = proplists:get_value(erl_opts, CONFIG, []),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user