unknownbrackets / maxcso

Fast cso compressor
ISC License
390 stars 23 forks source link

build: add optional USE_EXTERNAL_LIBDEFLATE #83

Closed orbea closed 7 months ago

orbea commented 7 months ago

When setting USE_EXTERNAL_LIBDEFLATE=1 as a make(1) argument a system version will be used and otherwise it will use the vendored libdeflate.

This was tested using libdeflate-1.19 that was recently added to Gentoo (https://github.com/gentoo/gentoo/commit/bae8948c83b015ea65a7542ab3499d241a001905).

There are also a few trivial commits to improve the Makefile.

orbea commented 7 months ago

@unknownbrackets When you have time I would really appreciate if you can review this PR.

orbea commented 7 months ago

@unknownbrackets Thanks! Any chance you could tag a new patch release? It would be helpful to get the build fixes into distros and its a bit much to backport.