mattn / p5-Devel-CheckLib

check that a library is available
http://search.cpan.org/dist/Devel-CheckLib/
13 stars 22 forks source link

Add analyze_binary feature #17

Closed salva closed 8 years ago

salva commented 8 years ago

Sometimes it is useful to be able to inspect the binaries created by Devel::CheckLib in order to, for instance, check its dependencies or for the presence of some symbol or even some string.

This patch adds support for passing a custom callback to assert_libs and its wrappers that is called back with the binary path in order to do that kind of tasks.

mattn commented 8 years ago

Thanks.

mattn commented 8 years ago

Ah, if you are okay, please send me pull-request again for the tests.