summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mdso.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mdso.c b/src/mdso.c
index 4c0b667..fdce786 100644
--- a/src/mdso.c
+++ b/src/mdso.c
@@ -60,9 +60,11 @@ int mdso_main(int argc, const char ** argv, const char ** envp)
}
}
- dctx->status = mdso_create_implib_sources(dctx);
- dctx->nerrors += !!dctx->status;
- ret += dctx->nerrors;
+ if (*dctx->units) {
+ dctx->status = mdso_create_implib_sources(dctx);
+ dctx->nerrors += !!dctx->status;
+ ret += dctx->nerrors;
+ }
return mdso_exit(dctx,ret);
}