summaryrefslogtreecommitdiff
path: root/mbld/libs.myr
diff options
context:
space:
mode:
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)