summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-16 11:34:50 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-16 11:34:50 -0800
commit543b764108c7bb18759d7db4058636f98972cbfb (patch)
treebabf4e1b91f2015a9010ec9c720050ea364e06db /mbld
parent6df14ce6f74fb0daf3bbe21516c3ee26424f885f (diff)
downloadmc-543b764108c7bb18759d7db4058636f98972cbfb.tar.gz
Report the correct binary path in top level.
We're building foo, not /foo
Diffstat (limited to 'mbld')
-rw-r--r--mbld/build.myr6
1 files changed, 4 insertions, 2 deletions
diff --git a/mbld/build.myr b/mbld/build.myr
index 5607c41..eb4d0dc 100644
--- a/mbld/build.myr
+++ b/mbld/build.myr
@@ -112,12 +112,14 @@ const runin = {b, cmd, dir
}
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)