aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-10-12 00:32:56 +0200
committerLoïc Hoguin <[email protected]>2015-10-12 00:32:56 +0200
commit7e95c74fee08fb4b94c25e2f3b03bcbdd1e029be (patch)
tree8020c25f5a1b764b4f6de1fddbcd28edc00b48b6 /core
parentf35f0f2c84b88d993e47afa218c989fdaee42688 (diff)
downloaderlang.mk-7e95c74fee08fb4b94c25e2f3b03bcbdd1e029be.tar.gz
erlang.mk-7e95c74fee08fb4b94c25e2f3b03bcbdd1e029be.tar.bz2
erlang.mk-7e95c74fee08fb4b94c25e2f3b03bcbdd1e029be.zip
Fix port compilation for rebar projects
Diffstat (limited to 'core')
-rw-r--r--core/deps.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 8c5da9c..c70e751 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -178,6 +178,7 @@ define dep_autopatch_rebar.erl
Write("IGNORE_DEPS += edown eper eunit_formatters meck node_package "
"rebar_lock_deps_plugin rebar_vsn_plugin reltool_util\n"),
Write("C_SRC_DIR = /path/do/not/exist\n"),
+ Write("C_SRC_TYPE = rebar\n"),
Write("DRV_CFLAGS = -fPIC\nexport DRV_CFLAGS\n"),
Write(["ERLANG_ARCH = ", rebar_utils:wordsize(), "\nexport ERLANG_ARCH\n"]),
fun() ->