summaryrefslogtreecommitdiff
path: root/mbld/deps.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-09-24 03:52:30 -0400
committerOri Bernstein <ori@eigenstate.org>2016-09-24 03:52:30 -0400
commit4eb7219a229bc8f9ac71a3a46f3fbfa875f32452 (patch)
tree536bfce97cdbb0590b25f8e4981c588d423fdb7a /mbld/deps.myr
parent25bdeed20e3d0915bca71d488b9d7bcda07c4109 (diff)
downloadmc-4eb7219a229bc8f9ac71a3a46f3fbfa875f32452.tar.gz
Propagate dynamic linker flags when using libs
Diffstat (limited to 'mbld/deps.myr')
-rw-r--r--mbld/deps.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr
index 9ac4d2b..839dfe8 100644
--- a/mbld/deps.myr
+++ b/mbld/deps.myr
@@ -347,6 +347,7 @@ const scrapelibs = {dg, lib, incs
| `bio.Ok 'X':
d = rdstr(f)
std.slpush(&dg.extlibs, d)
+ dg.dynamic = true
| `bio.Ok _: done = true
| `bio.Eof: done = true
| `bio.Err e: std.fatal("io error reading {}: {}", lib, e)