The ALL_STATIC=define build succeeds with VC++, but with MinGW it gives an
error about _BZ2_compressBlock (referenced from bzlib.o) being undefined.
I do not know why, so just exclude this extension from the list for now,
and add a note about it.
# - Win32 extension contains overlapped symbols with win32.c (BUG!)
# - MakeMaker isn't capable enough for SDBM_File (smaller bug)
# - Encode (encoding search algorithm relies on shared library?)
+# - GCC's linker gets undefined reference to _BZ2_compressBlock
STATIC_EXT = * !Win32 !SDBM_File !Encode
+.IF "$(CCTYPE)" == "GCC"
+STATIC_EXT += !Compress/Raw/Bzip2
+.ENDIF
.ELSE
# specify static extensions here, for example:
#STATIC_EXT = Cwd Compress/Raw/Zlib