Permalink
Browse files

Fixed erlc include path when in nested apps

  • Loading branch information...
1 parent a0a61ad commit 5684fcc3d0b2f9cec8240c705966de46ff813a92 @srstrong srstrong committed Feb 22, 2014
Showing with 2 additions and 1 deletion.
  1. +2 −1 erl.mk
View
3 erl.mk
@@ -26,8 +26,9 @@ STRIPPED_DEPENDENCIES:=$(shell mktemp -u /tmp/$(APP).stripped_deps.XXXX)
define compile_erl
$(verbose) echo Compiling...
+ echo HELLO $(ERL_LIBS)
$(verbose) sed 's/^/ /' $(ERLS_TO_BUILD)
- $(verbose) erlc -pa ebin/ -o ebin/ $(ERLCFLAGS) -v -Iinclude/ -Ideps/ `cat $(ERLS_TO_BUILD)`
+ $(verbose) erlc -pa ebin/ -o ebin/ $(ERLCFLAGS) -v -Iinclude/ -I$(DEPS_DIR)/ `cat $(ERLS_TO_BUILD)`
endef
define build_dependencies

0 comments on commit 5684fcc

Please sign in to comment.