Skip to content

Avoid accidental library name matches when parsing ldd output.

Ghost User requested to merge (removed):shared-libraries into master
  • Use a single pattern that matches against potentially complete paths.
  • Extract filename only afterwards on platforms where it is necessary.
  • Match patterns against complete words in ldd output instead of searching for them inside the lines - this avoids unintentional matches without complexity of negative lookbehinds and negative lookaheads.

Fixes issue #208 (closed).

Merge request reports

Loading