diff --git a/README.md b/README.md index 3874485..c4060fc 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ Thanks also to [distri's squashfs library](https://github.com/distr1/distri/tree ## Build tags -This library has two optional build tags. `no_gpl` disables the ability to read archives with lzo compression due to the library's gpl license. `no_obsolete` removes "obsolete" compression types for a reduced size; currently this only disable lzma compression. +This library has two optional build tags. `no_gpl` disables the ability to read archives with lzo compression due to the library's gpl license. `no_obsolete` removes "obsolete" compression types for a reduced compilation size; currently this only disable lzma compression since it's superseded by xz. ## FUSE diff --git a/internal/decompress/lzma.go b/internal/decompress/lzma.go index 74603f9..8fa1e3c 100644 --- a/internal/decompress/lzma.go +++ b/internal/decompress/lzma.go @@ -1,4 +1,4 @@ -//go:build !no_lzma +//go:build !no_obsolete package decompress diff --git a/internal/decompress/lzo.go b/internal/decompress/lzo.go index fd8d650..b708f50 100644 --- a/internal/decompress/lzo.go +++ b/internal/decompress/lzo.go @@ -1,4 +1,4 @@ -//go:build !no_lzo +//go:build !no_gpl package decompress