diff options
Diffstat (limited to 'plugins/c_src.mk')
-rw-r--r-- | plugins/c_src.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/c_src.mk b/plugins/c_src.mk index 7c1fd2e..13d2f62 100644 --- a/plugins/c_src.mk +++ b/plugins/c_src.mk @@ -81,7 +81,7 @@ $(C_SRC_OUTPUT): $(OBJECTS) $(COMPILE_CPP) $(OUTPUT_OPTION) $< $(C_SRC_ENV): - @erl -noshell -noinput -eval "file:write_file(\"$(C_SRC_ENV)\", \ + @$(ERL) -eval "file:write_file(\"$(C_SRC_ENV)\", \ io_lib:format( \ \"ERTS_INCLUDE_DIR ?= ~s/erts-~s/include/~n\" \ \"ERL_INTERFACE_INCLUDE_DIR ?= ~s~n\" \ @@ -89,7 +89,7 @@ $(C_SRC_ENV): [code:root_dir(), erlang:system_info(version), \ code:lib_dir(erl_interface, include), \ code:lib_dir(erl_interface, lib)])), \ - erlang:halt()." + halt()." clean:: clean-c_src |