aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--erlang.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/erlang.mk b/erlang.mk
index 3ddcf21..ad17c60 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -65,8 +65,8 @@ app: ebin/$(PROJECT).app
> ebin/$(PROJECT).app
define compile_erl
- $(erlc_verbose) ERL_LIBS=deps erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ \
- -I include/ $(COMPILE_FIRST_PATHS) $(1)
+ $(erlc_verbose) ERL_LIBS=$(DEPS_DIR) erlc -v $(ERLC_OPTS) -o ebin/ \
+ -pa ebin/ -I include/ $(COMPILE_FIRST_PATHS) $(1)
endef
define compile_xyrl