summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDave Smith <dizzyd@dizzyd.com>2013-05-15 07:37:03 -0700
committerDave Smith <dizzyd@dizzyd.com>2013-05-15 07:37:03 -0700
commitd0a3f5246a9e580a172e2fbf707735621cc57c7f (patch)
tree0678dcea99350f44f376ce07835e9e95cebbf835 /src
parent65b183b020bdd452ea645aa339f63c93ec22d5b5 (diff)
parentc2fae0ca5c91d53b883ddeb4249cc2d828782a24 (diff)
Merge pull request #85 from ratelle/rebar-deps-dir-in-port-compiler
Add rebar-deps env to port compiler SharedEnv
Diffstat (limited to 'src')
-rw-r--r--src/rebar_port_compiler.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl
index 36d741d..0abb044 100644
--- a/src/rebar_port_compiler.erl
+++ b/src/rebar_port_compiler.erl
@@ -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),