bug fix: ldd silent about missing dll dependencies #21
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As of now
ldd
is silent about missing dll dependencies - and it always returns with0
, regardless if all dll dependencies are found or not.With the commits kept as minimal as possible, the PR fixes:
not found
(dll dependencies on a dll which is not found are still not listed, of course)ldd
returns with exit code1
if not all dll dependencies are found.This bug is a bit painful per se - and, in particular, for the CI function
list_dll_deps
inci-library.sh
of the MSYS and MINGW repos:list_dll_deps
could be amended, e.g.,Cygwin
. In case one of you guys think this should be patched upstream, please go ahead. I am not really involved with the cygwin infrastructure I must admit. Thanks.I hope this PR sits on the correct branch of the repo. This is my first PR here.