diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2016-11-18 12:25:01 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2016-11-18 12:25:01 +0100 |
commit | 45e77ea4830a753b4defcc12545d60d56e849819 (patch) | |
tree | 44f39008d9aff34ba91cf085147bf3b3d07917b4 /src | |
parent | Get rid of substitute_forwarded (diff) |
Remove useless NO_EXT_LIB flag
Diffstat (limited to 'src')
-rw-r--r-- | src/ext_mod.erl | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/ext_mod.erl b/src/ext_mod.erl index a2109e569..071fb827c 100644 --- a/src/ext_mod.erl +++ b/src/ext_mod.erl @@ -520,11 +520,8 @@ compile(_Module, _Spec, DestDir) -> filelib:ensure_dir(filename:join(Ebin, ".")), EjabBin = filename:dirname(code:which(ejabberd)), EjabInc = filename:join(filename:dirname(EjabBin), "include"), - XmlHrl = filename:join(EjabInc, "fxml.hrl"), - ExtLib = [{d, 'NO_EXT_LIB'} || filelib:is_file(XmlHrl)], Options = [{outdir, Ebin}, {i, "include"}, {i, EjabInc}, - verbose, report_errors, report_warnings] - ++ ExtLib, + verbose, report_errors, report_warnings], [file:copy(App, Ebin) || App <- filelib:wildcard("src/*.app")], %% Compile erlang files |