aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2025-06-25 13:01:29 +0200
committerLoïc Hoguin <[email protected]>2025-06-25 13:01:29 +0200
commit88ab050b42ef57d56d140b7a2ccda902e9d3aa43 (patch)
treeb9df907668f890c18c2d78383efb4e1a6f27b475
parentce2a1ba5ed37586dacbf1def01f23a9f550767e1 (diff)
downloaderlang.mk-88ab050b42ef57d56d140b7a2ccda902e9d3aa43.tar.gz
erlang.mk-88ab050b42ef57d56d140b7a2ccda902e9d3aa43.tar.bz2
erlang.mk-88ab050b42ef57d56d140b7a2ccda902e9d3aa43.zip
Elixir: Load LOCAL_DEPS applications before compiling
Should make x509 and others work.
-rw-r--r--core/elixir.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/elixir.mk b/core/elixir.mk
index cd62e78..5feb7e6 100644
--- a/core/elixir.mk
+++ b/core/elixir.mk
@@ -182,6 +182,7 @@ endef
define compile_ex.erl
{ok, _} = application:ensure_all_started(elixir),
{ok, _} = application:ensure_all_started(mix),
+ $(foreach dep,$(LOCAL_DEPS),ok = application:load($(dep)),)
ModCode = list_to_atom("Elixir.Code"),
ModCode:put_compiler_option(ignore_module_conflict, true),
ModComp = list_to_atom("Elixir.Kernel.ParallelCompiler"),