Fix a compilation error on windows
This commit is contained in:
parent
6d97c4177c
commit
c9e90de19f
@ -14,7 +14,7 @@ fn target_env(lib_path: ~str, prog: ~str) -> ~[(~str,~str)] {
|
||||
let aux_path = prog.slice(0u, prog.len() - 4u) + ~".libaux";
|
||||
|
||||
env = do vec::map(env) |pair| {
|
||||
let (k,v) = pair;
|
||||
let (k,v) = *pair;
|
||||
if k == ~"PATH" { (~"PATH", v + ~";" + lib_path + ~";" + aux_path) }
|
||||
else { (k,v) }
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user