mirror of
https://github.com/facebook/zstd.git
synced 2024-11-23 12:46:45 +08:00
Fix wrong conditions
This commit is contained in:
parent
1a61bdb9c0
commit
044cd81ce6
@ -9,12 +9,12 @@ function project_zstd(dir, compression, decompression, deprecated, dictbuilder,
|
||||
|
||||
if legacy == nil then legacy = 0 end
|
||||
|
||||
if compression then
|
||||
if not compression then
|
||||
dictbuilder = false
|
||||
deprecated = false
|
||||
end
|
||||
|
||||
if decompression then
|
||||
if not decompression then
|
||||
legacy = 0
|
||||
deprecated = false
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user