Skip to content

Evaluate the filters when checking library types in resolve_shlibs

In Python 3, filter() returns a filter object for lazy evaluation. This object is truthy, so casting it to bool will return True even if it would contain no objects. This thwarts the test at the beginning of _resolve_non_libtool. To fix this, immediately evaluate the filters with list().

Fixes #314 (closed).

Merge request reports