diff options
author | Ori Bernstein <ori@eigenstate.org> | 2017-07-19 22:20:53 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2017-07-19 22:22:26 -0700 |
commit | ec311388a2880c4f836bd1108245cd4c2ab5630e (patch) | |
tree | 1b34660d9b7c26eec6c2510bf189c79c9ebedcf5 /mbld | |
parent | 80e1f20064f435fba7b4c7be70fd6b19c5218cc3 (diff) | |
download | mc-ec311388a2880c4f836bd1108245cd4c2ab5630e.tar.gz |
Only use the filename itself for __init__
This sucks, but it's *extremely* unlikely that a file
will share a namespace, filename, and __init__.
This makes builds directory-independent, so that linking
the same file compiled with a different compiler cwd will
work.
Diffstat (limited to 'mbld')
-rw-r--r-- | mbld/deps.myr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbld/deps.myr b/mbld/deps.myr index e501983..fa92de4 100644 --- a/mbld/deps.myr +++ b/mbld/deps.myr @@ -58,6 +58,7 @@ const myrdeps = {b, mt, doclean, addsrc .extlibs = [][:], .dynamic = false, ]) + /* direct dependencies of binary */ if mt.islib out = std.fmt("lib{}.a", mt.name) |