mirror of
https://github.com/correl/rebar.git
synced 2024-11-14 19:19:30 +00:00
Quote include/lib paths
In OTP-17.0 paths on windows are not shortpaths anymore so they may contain spaces and parenthesis
This commit is contained in:
parent
0c7fe5fc7b
commit
4b49dc0727
1 changed files with 4 additions and 4 deletions
|
@ -565,10 +565,10 @@ default_env() ->
|
|||
{"EXE_CFLAGS" , "-g -Wall -fPIC $ERL_CFLAGS"},
|
||||
{"EXE_LDFLAGS", "$ERL_LDFLAGS"},
|
||||
|
||||
{"ERL_CFLAGS", lists:concat([" -I", erl_interface_dir(include),
|
||||
" -I", filename:join(erts_dir(), "include"),
|
||||
" "])},
|
||||
{"ERL_EI_LIBDIR", erl_interface_dir(lib)},
|
||||
{"ERL_CFLAGS", lists:concat([" -I\"", erl_interface_dir(include),
|
||||
"\" -I\"", filename:join(erts_dir(), "include"),
|
||||
"\" "])},
|
||||
{"ERL_EI_LIBDIR", lists:concat(["\"", erl_interface_dir(lib), "\""])},
|
||||
{"ERL_LDFLAGS" , " -L$ERL_EI_LIBDIR -lerl_interface -lei"},
|
||||
{"ERLANG_ARCH" , rebar_utils:wordsize()},
|
||||
{"ERLANG_TARGET", rebar_utils:get_arch()},
|
||||
|
|
Loading…
Reference in a new issue