Permalink
Browse files

Added -pa ebin to the erlc command to resolve custom behaviours

  • Loading branch information...
1 parent c63561d commit 5261617e7ecb5a630690cfbe7e19d20cf139e307 @srstrong srstrong committed Feb 17, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 erl.mk
View
2 erl.mk
@@ -27,7 +27,7 @@ STRIPPED_DEPENDENCIES:=$(shell mktemp -u /tmp/$(APP).stripped_deps.XXXX)
define compile_erl
$(verbose) echo Compiling...
$(verbose) sed 's/^/ /' $(ERLS_TO_BUILD)
- $(verbose) erlc -o ebin/ $(ERLCFLAGS) -v -Iinclude/ -Ideps/ `cat $(ERLS_TO_BUILD)`
+ $(verbose) erlc -pa ebin/ -o ebin/ $(ERLCFLAGS) -v -Iinclude/ -Ideps/ `cat $(ERLS_TO_BUILD)`
endef
define build_dependencies

0 comments on commit 5261617

Please sign in to comment.