ref: 543b764108c7bb18759d7db4058636f98972cbfb
parent: 6df14ce6f74fb0daf3bbe21516c3ee26424f885f
author: Ori Bernstein <ori@eigenstate.org>
date: Wed Dec 16 06:34:50 EST 2015
Report the correct binary path in top level. We're building foo, not /foo
--- a/mbld/build.myr
+++ b/mbld/build.myr
@@ -112,12 +112,14 @@
}
const buildbin = {b, targ, addsrc
- var dg, src
+ var dg, src, path
var libpath, incs
setdir(b, targ.dir)
addincludes(b, targ)
- std.put("{}/{}...\n", b.curdir, targ.name)
+ path = std.pathcat(b.curdir, targ.name)
+ std.put("{}...\n", path)
+ std.slfree(path)
dg = myrdeps(b, targ, false, addsrc)
if !std.hthas(dg.deps, targ.name)
std.fatal("no input files for {}\n", targ.name)