summaryrefslogtreecommitdiff
path: root/mbld
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-07-24 23:55:57 -0700
committerOri Bernstein <ori@eigenstate.org>2017-07-25 22:23:05 -0700
commitb22fbb6351d844d58002c326809258016595ed31 (patch)
tree8449775960bc758d878dd22b0c676dbcb05265a3 /mbld
parentd470a28bf8c0b730b9dbf8e73ba7856fed338084 (diff)
downloadmc-b22fbb6351d844d58002c326809258016595ed31.tar.gz
Fix target names.
We were using the wrong name.
Diffstat (limited to 'mbld')
-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)
;;