mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Adding new vars for scripts to determine architecture (32/64 bit) and target platform of Erlang VM; courtesy of rtilder
This commit is contained in:
parent
b787f195b8
commit
268405d0dc
1 changed files with 3 additions and 1 deletions
|
@ -253,7 +253,9 @@ default_env() ->
|
|||
" -I", filename:join(erts_dir(), include),
|
||||
" "])},
|
||||
{"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…
Reference in a new issue