summaryrefslogtreecommitdiff
path: root/src/ext_mod.erl
diff options
context:
space:
mode:
authorPaweł Chmielowski <pchmielowski@process-one.net>2020-03-03 11:18:07 +0100
committerPaweł Chmielowski <pchmielowski@process-one.net>2020-03-03 11:25:17 +0100
commit151b818af4d01b8afd979d43d1334be423560419 (patch)
tree43fbe87787857f35d43e09988a3fbb99078c5cce /src/ext_mod.erl
parentFix list parameters in sql queries on pgsql (diff)
Use compilation flags used during build to compile modules in ext_mod
This fixes issue #3178
Diffstat (limited to 'src/ext_mod.erl')
-rw-r--r--src/ext_mod.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext_mod.erl b/src/ext_mod.erl
index 1b8c0eb6..e4feeaee 100644
--- a/src/ext_mod.erl
+++ b/src/ext_mod.erl
@@ -570,7 +570,7 @@ compile_result(Results) ->
end.
compile_options() ->
- [verbose, report_errors, report_warnings]
+ [verbose, report_errors, report_warnings, ?ALL_DEFS]
++ [{i, filename:join(app_dir(App), "include")}
|| App <- [fast_xml, xmpp, p1_utils, ejabberd]]
++ [{i, filename:join(mod_dir(Mod), "include")}