summaryrefslogtreecommitdiff
path: root/mbld/deps.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/deps.myr')
-rw-r--r--mbld/deps.myr2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr
index 7c54e34..79f90c4 100644
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -431,6 +431,8 @@ const linkcmd = {b, n, mt, bin, libs, dynlibs, istest
for o : opt_ldflags
std.slpush(&n.cmd, o)
;;
+
+ std.slpush(&n.cmd, "-o")
std.slpush(&n.cmd, std.sldup(bin))
if mt.ldscript.len > 0
std.slpush(&n.cmd, std.sldup("-T"))