summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-07-24 23:55:57 -0700
committerOri Bernstein <ori@eigenstate.org>2017-07-24 23:55:57 -0700
commit2c2e2bca76d1e8263e5b673c4ac652373d0b629b (patch)
treeebc4c1e4e3efc5a2406edcdcf3d813baf2fc08bd
parent08aaf97888c5d6ca34324c2a628794818b601b15 (diff)
downloadmc-2c2e2bca76d1e8263e5b673c4ac652373d0b629b.tar.gz
Fix target names.
We were using the wrong name.
-rw-r--r--mbld/deps.myr5
1 files changed, 2 insertions, 3 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr
index dc37200..81b16f0 100644
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -83,8 +83,8 @@ const myrdeps = {b, name, mt
a = std.htgetv(g.targs, "all", [][:])
std.slpush(&a, gu)
std.slpush(&a, go)
- std.htput(g.targs, to, std.sldup([gu, go][:]))
std.htput(g.targs, "all", a)
+ std.htput(g.targs, name, std.sldup([gu, go][:]))
std.slfree(o)
std.slfree(u)
@@ -97,7 +97,7 @@ const myrdeps = {b, name, mt
gu = node(g, tu)
generates(g, go, to)
- std.htput(g.targs, to, std.sldup([go][:]))
+ std.htput(g.targs, name, std.sldup([go][:]))
if mt.istest
n = node(g, mt.name)
depends(g, n, to)
@@ -110,7 +110,6 @@ const myrdeps = {b, name, mt
go.instdir = config.Binpath
go.instmod = 0o755
;;
-
std.slfree(u)
;;