|
@ -252,7 +252,7 @@ internal_erl_compile(Source, Config, Outdir, ErlOpts) -> |
|
|
case needs_compile(Source, Target, Hrls) of |
|
|
case needs_compile(Source, Target, Hrls) of |
|
|
true -> |
|
|
true -> |
|
|
Opts = [{outdir, filename:dirname(Target)}] ++ |
|
|
Opts = [{outdir, filename:dirname(Target)}] ++ |
|
|
ErlOpts ++ [{i, "include"}, report, return_errors], |
|
|
|
|
|
|
|
|
ErlOpts ++ [{i, "include"}, report], |
|
|
case compile:file(Source, Opts) of |
|
|
case compile:file(Source, Opts) of |
|
|
{ok, _} -> |
|
|
{ok, _} -> |
|
|
ok; |
|
|
ok; |
|
|