aboutsummaryrefslogtreecommitdiffstats
path: root/erlang.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-05-01 11:54:15 +0200
committerLoïc Hoguin <[email protected]>2013-05-01 11:54:15 +0200
commitff7f47fe8ccee222d0a53db082431eda3eb94901 (patch)
treea0fff06371ccd8b0ecf0ed47fb8a208ac8ff5e93 /erlang.mk
parentba27f059fb88fea41df52adafac670970a963c9e (diff)
downloaderlang.mk-ff7f47fe8ccee222d0a53db082431eda3eb94901.tar.gz
erlang.mk-ff7f47fe8ccee222d0a53db082431eda3eb94901.tar.bz2
erlang.mk-ff7f47fe8ccee222d0a53db082431eda3eb94901.zip
Add deps to ERL_LIBS when compiling
This allows erlc to find behaviours defined by other applications.
Diffstat (limited to 'erlang.mk')
-rw-r--r--erlang.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/erlang.mk b/erlang.mk
index 50e2530..cde607a 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -56,7 +56,7 @@ app: ebin/$(PROJECT).app
ebin/$(PROJECT).app: src/*.erl
@mkdir -p ebin/
- $(erlc_verbose) erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ \
+ $(erlc_verbose) ERL_LIBS=deps erlc -v $(ERLC_OPTS) -o ebin/ -pa ebin/ \
$(COMPILE_FIRST_PATHS) $?
clean: