summaryrefslogtreecommitdiff
path: root/mbld/libs.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-07-24 23:06:02 -0700
committerOri Bernstein <ori@eigenstate.org>2017-07-25 22:23:05 -0700
commitd470a28bf8c0b730b9dbf8e73ba7856fed338084 (patch)
tree23d254f5fc3203e3a1c7187c6782071c1159e15b /mbld/libs.myr
parent5a4946bb577b755df6ddb543bccd0573de7cf2bd (diff)
downloadmc-d470a28bf8c0b730b9dbf8e73ba7856fed338084.tar.gz
Fix running tests.
Diffstat (limited to 'mbld/libs.myr')
-rw-r--r--mbld/libs.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbld/libs.myr b/mbld/libs.myr
index b63499a..f99b0b2 100644
--- a/mbld/libs.myr
+++ b/mbld/libs.myr
@@ -28,11 +28,11 @@ const builtlib = {b, mt, dep, dyndep
u = std.fmt("lib{}.use", mt.name)
ldep = std.mk([
.name=mt.name,
- .dir=std.pathcat(b.objdir, mt.dir),
+ .dir=std.pathcat(opt_objdir, mt.dir),
.dep=dep,
.dyndep=dyndep,
- .genuse=std.pathjoin([b.objdir, mt.dir, u][:]),
- .genar=std.pathjoin([b.objdir, mt.dir, l][:]),
+ .genuse=std.pathjoin([opt_objdir, mt.dir, u][:]),
+ .genar=std.pathjoin([opt_objdir, mt.dir, l][:]),
])
std.slfree(l)
std.slfree(u)