Hi all,

I noticed the following doesn't work:

pp -o foo -x -e "use Devel::Declare; warn 1"

it fails when loading Declare.dll, which depends on
Check.dll (from B::Hooks::OP::Check)


This is because Check.dll is refered by name on win32, and this
is probably the case of all modules exporting c-symbols for other
xs modules.  Steffen suggested working out the location of such
dll and use "-apath/to/check.pl;shared/check.dll" to bundle the
dll with original name, of course, before name collision start
happening.

We can actually detect such modules if name spaces like
B::Hooks::OP::Check::Install::Files exist (assuming they are
using the standard convention with ExtUtils::Depends), then grab
the dll of such modules.

What do people think?

Cheers,
CLK


Reply via email to