summaryrefslogtreecommitdiff
path: root/mbld/deps.myr
diff options
context:
space:
mode:
Diffstat (limited to 'mbld/deps.myr')
-rw-r--r--mbld/deps.myr6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr
index 066fb3c..5746008 100644
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -439,7 +439,7 @@ const linkcmd = {b, n, mt, bin, libs, dynlibs, istest
std.slpush(&n.cmd, std.sldup(mt.ldscript))
;;
- if mt.runtime.len == 0 || std.sleq(mt.runtime, "none")
+ if mt.runtime.len == 0 || std.eq(mt.runtime, "none")
std.slpush(&n.cmd, std.sldup(opt_runtime))
else
std.slpush(&n.cmd, std.sldup(mt.runtime))
@@ -455,10 +455,10 @@ const linkcmd = {b, n, mt, bin, libs, dynlibs, istest
;;
/* OSX warns if we don't add a version */
- if std.sleq(opt_sys, "osx")
+ if std.eq(opt_sys, "osx")
std.slpush(&n.cmd, std.sldup("-macosx_version_min"))
std.slpush(&n.cmd, std.sldup("10.6"))
- elif std.sleq(opt_sys, "linux") && dynlibs.len != 0
+ elif std.eq(opt_sys, "linux") && dynlibs.len != 0
std.slpush(&n.cmd, std.sldup("-dynamic-linker"))
std.slpush(&n.cmd, std.sldup("/lib64/ld-linux-x86-64.so.2"))
;;