diff --git a/rebar.config.script b/rebar.config.script index 01c1b67..413b50d 100644 --- a/rebar.config.script +++ b/rebar.config.script @@ -1,4 +1,11 @@ %% -*- 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 "true" -> Opts = proplists:get_value(erl_opts, CONFIG, []),