瀏覽代碼

Adding new vars for scripts to determine architecture (32/64 bit) and target platform of Erlang VM; courtesy of rtilder

pull/3/head
Dave Smith 15 年之前
父節點
當前提交
268405d0dc
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      src/rebar_port_compiler.erl

+ 3
- 1
src/rebar_port_compiler.erl 查看文件

@ -253,7 +253,9 @@ default_env() ->
" -I", filename:join(erts_dir(), include), " -I", filename:join(erts_dir(), include),
" "])}, " "])},
{"DRIVER_LDFLAGS", lists:concat([" -L", code:lib_dir(erl_interface, lib), {"DRIVER_LDFLAGS", lists:concat([" -L", code:lib_dir(erl_interface, lib),
" -lerl_interface -lei"])}].
" -lerl_interface -lei"])},
{"ERLANG_ARCH", 8 * erlang:system_info(wordsize)},
{"ERLANG_TARGET", erlang:system_info(system_architecture)}].

Loading…
取消
儲存