summaryrefslogtreecommitdiff
path: root/mbld/build.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-04-29 23:38:59 -0700
committerOri Bernstein <ori@eigenstate.org>2016-04-29 23:38:59 -0700
commitd457a0d8f9f7bc6e136200fc814354d15aadbd42 (patch)
tree43397e06f3da566062415710ace7c23cd380cd32 /mbld/build.myr
parent56251d257472a214910a0d0861cae5090bdd83d9 (diff)
downloadmc-d457a0d8f9f7bc6e136200fc814354d15aadbd42.tar.gz
Fix uses of slput()
Diffstat (limited to 'mbld/build.myr')
-rw-r--r--mbld/build.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbld/build.myr b/mbld/build.myr
index 10d40f2..5b1afe1 100644
--- a/mbld/build.myr
+++ b/mbld/build.myr
@@ -183,7 +183,7 @@ const genfiles = {b, gt
const addincludes = {b, targ
for (inc, lib, subtarg) in targ.libdeps
if !hasinc(targ.incpath, inc)
- targ.incpath = std.slput(targ.incpath, 0, inc)
+ std.slput(&targ.incpath, 0, inc)
;;
;;
}
@@ -419,7 +419,7 @@ const putlib = {cmd, head, lib, incs
var sep
if !config.Directlib
- -> std.slput(cmd, head, std.fmt("-l{}", lib))
+ -> std.slput(&cmd, head, std.fmt("-l{}", lib))
else
match findlib(lib, incs)
| `std.None:
@@ -431,7 +431,7 @@ const putlib = {cmd, head, lib, incs
;;
std.fatal("could not find library lib{}.a.\n", lib)
| `std.Some p:
- -> std.slput(cmd, head, p)
+ -> std.slput(&cmd, head, p)
;;
;;
}