summaryrefslogtreecommitdiff
path: root/src/rebar_port_compiler.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2010-09-29 21:28:20 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-09-29 21:28:20 +0200
commitd590c18b5a2e6fbe5a2e5c7490438a2f1d348018 (patch)
treeea07358286f4a9708e183fba2d3a7a4a78d85ce4 /src/rebar_port_compiler.erl
parent3354e8ebe01d0d7b94aa23b5b79aabd3dbc1c5e6 (diff)
Fix dialyzer warning for filename:join/2 calls
Diffstat (limited to 'src/rebar_port_compiler.erl')
-rw-r--r--src/rebar_port_compiler.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_port_compiler.erl b/src/rebar_port_compiler.erl
index d07b369..d962b28 100644
--- a/src/rebar_port_compiler.erl
+++ b/src/rebar_port_compiler.erl
@@ -315,7 +315,7 @@ default_env() ->
{"CC", "cc"},
{"CXX", "c++"},
{"ERL_CFLAGS", lists:concat([" -I", code:lib_dir(erl_interface, include),
- " -I", filename:join(erts_dir(), include),
+ " -I", filename:join(erts_dir(), "include"),
" "])},
{"ERL_LDFLAGS", lists:concat([" -L", code:lib_dir(erl_interface, lib),
" -lerl_interface -lei"])},