mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 03:00:18 +00:00
Add rebar-deps env to port compiler SharedEnv
REBAR_DEPS_DIR is often needed when a nif needs to be linked with a raw dependency.
This commit is contained in:
parent
65b183b020
commit
c2fae0ca5c
1 changed files with 2 additions and 1 deletions
|
@ -100,7 +100,8 @@ compile(Config, AppFile) ->
|
|||
[] ->
|
||||
ok;
|
||||
Specs ->
|
||||
SharedEnv = rebar_config:get_env(Config, ?MODULE),
|
||||
SharedEnv = rebar_config:get_env(Config, rebar_deps) ++
|
||||
rebar_config:get_env(Config, ?MODULE),
|
||||
|
||||
%% Compile each of the sources
|
||||
NewBins = compile_sources(Config, Specs, SharedEnv),
|
||||
|
|
Loading…
Reference in a new issue