Hi, When building the package with -flto flag provided to a compiler (CFLAGS, CXXFLAGS) it cannot create neither static libraries (because an ordinal 'ar' from binutils is used rather than 'gcc-ar' or 'llvm-ar') nor shared libraries (because LDFLAGS is not propagated to a linker, LDFLAGS contains '-flto') I opened a pull request in github to cure this wound https://github.com/apple/cups/pull/5411 I will be waiting for a response from the maintainer Thank you
The PR has been added to the milestone https://github.com/apple/cups/milestone/3 Will be waiting for merge
Current versions should have it fixed