How to create a static library for Brotli?
Author: FernandoBanhosCreated Sep 2, 2026Updated Sep 2, 2026
I developed a library to use Brotli compression, to be used in Delphi and FreePascal/Lazarus. I’d like to adapt the sources to use the static Brotli library, but I’m having trouble compiling for Delphi (Windows 32), where the accepted compilation is OMF. Is there any script so that this can be done? I managed to generate a *.a library for Lazarus (Windows) using mingw32 and mingw64 in COFF format
My library: https://github.com/FernandoBanhos/pascal_brotli.Source: google/brotli