Subject: | bzlib-src\Makefile.PL not cross-platform |
for ActivePerl, something like the following is required
sub MY::top_targets {
'
all :: static
pure_all :: static
static :: libbz2$(LIB_EXT) bzip2
libbz2$(LIB_EXT): blocksort$(OBJ_EXT) huffman$(OBJ_EXT) crctable$(OBJ_EXT) randtable$(OBJ_EXT) compress$(OBJ_EXT) decompress$(OBJ_EXT) bzlib$(OBJ_EXT)
$(AR) /OUT:libbz2$(LIB_EXT) blocksort$(OBJ_EXT) huffman$(OBJ_EXT) crctable$(OBJ_EXT) randtable$(OBJ_EXT) compress$(OBJ_EXT) decompress$(OBJ_EXT) bzlib$(OBJ_EXT)
$(RANLIB) libbz2$(LIB_EXT)
bzip2: libbz2$(LIB_EXT) bzip2$(OBJ_EXT)
';
}