summaryrefslogtreecommitdiff
path: root/src/configure.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/configure.erl')
-rw-r--r--src/configure.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/configure.erl b/src/configure.erl
index 30c41aa1..fecc19c6 100644
--- a/src/configure.erl
+++ b/src/configure.erl
@@ -14,7 +14,8 @@
start() ->
EIDirS = "EI_DIR = " ++ code:lib_dir("erl_interface") ++ "\n",
- file:write_file("Makefile.inc", list_to_binary(EIDirS)),
+ RootDirS = "ERLANG_DIR = " ++ code:root_dir() ++ "\n",
+ file:write_file("Makefile.inc", list_to_binary(EIDirS ++ RootDirS)),
halt().