On my current compilation (on Cygwin) Alien::Base::Wrapper->mm_args contains a 'DEFINE' value of '-DLIBXML_STATIC'. The Makefile.PL was using that value without adding the required '-DHAVE_UTF8', because the hash was combined by overwriting values instead of concatenating them. It was thus failing all Unicode tests because it was compiled without the required define. With this patch it now works correctly. Note that if we would like to support concatenation of 'LIBS', it would have to be modified to work also with arrays.
On my current compilation (on Cygwin) Alien::Base::Wrapper->mm_args contains a 'DEFINE' value of '-DLIBXML_STATIC'. The Makefile.PL was using that value without adding the required '-DHAVE_UTF8', because the hash was combined by overwriting values instead of concatenating them. It was thus failing all Unicode tests because it was compiled without the required define. With this patch it now works correctly. Note that if we would like to support concatenation of 'LIBS', it would have to be modified to work also with arrays.