Fix build flags in lzma.go & xz.go
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build !no_lzma
|
||||
//go:build !no_obsolete
|
||||
|
||||
package decompress
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build !no_lzo
|
||||
//go:build !no_gpl
|
||||
|
||||
package decompress
|
||||
|
||||
|
||||
Reference in New Issue
Block a user