summaryrefslogtreecommitdiff
path: root/rebar.config
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-04-10 17:32:55 +0200
committerBadlop <badlop@process-one.net>2021-04-14 17:12:08 +0200
commitb860a25c82515ba51b044e13ea4e040e3b9bbc41 (patch)
treef183f0248057e6b2927ee26d5a1d77dce621c4fc /rebar.config
parentUse Dockerfile (diff)
When using OTP 24.0, use the new 'application' record definition (#3568)
This fixes "ejabberdctl update_list", "update", and the equivalent feature on ejabberd's WebAdmin that got broken when using Erlang/OTP 24
Diffstat (limited to '')
-rw-r--r--rebar.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/rebar.config b/rebar.config
index 05466033..81f3dc84 100644
--- a/rebar.config
+++ b/rebar.config
@@ -100,6 +100,7 @@
{if_version_below, "23", {d, 'USE_OLD_CRYPTO_HMAC'}},
{if_version_below, "23", {d, 'USE_OLD_PG2'}},
{if_version_below, "24", {d, 'COMPILER_REPORTS_ONLY_LINES'}},
+ {if_version_below, "24", {d, 'SYSTOOLS_APP_DEF_WITHOUT_OPTIONAL'}},
{if_var_match, db_type, mssql, {d, 'mssql'}},
{if_var_false, debug, no_debug_info},
{if_var_true, debug, debug_info},