diff options
Diffstat (limited to 'Src/module.c')
-rw-r--r-- | Src/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/module.c b/Src/module.c index fc7f7a722..6b34f81b1 100644 --- a/Src/module.c +++ b/Src/module.c @@ -296,7 +296,7 @@ load_and_bind(const char *fn) int err = loadbind(0, (void *) addbuiltin, ret); for (node = firstnode(modules); !err && node; incnode(node)) { Module m = (Module) getdata(node); - if (m->u.handle) + if (m->u.handle && !(m->flags & MOD_LINKED)) err |= loadbind(0, m->u.handle, ret); } |