Skip to content
Permalink
Browse files
Merge pull request #260 from dgud/dgud/windows-fix-paths
Quote include/lib paths
  • Loading branch information
ferd committed Jun 18, 2014
2 parents 8a0d8ad + 4b49dc0 commit e1237caee5526b525e3345d0a61a800065bd0197
Showing 1 changed file 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()},

0 comments on commit e1237ca

Please sign in to comment.