mirror of
https://github.com/facebook/zstd.git
synced 2025-10-08 00:04:02 -04:00
Update legacy support to 5
This commit is contained in:
parent
f727808731
commit
8a160680d1
@ -58,7 +58,7 @@ if legacy_support == '0'
|
|||||||
endif
|
endif
|
||||||
if legacy_support != 'false'
|
if legacy_support != 'false'
|
||||||
if legacy_support == 'true'
|
if legacy_support == 'true'
|
||||||
legacy_support = '1'
|
legacy_support = '5'
|
||||||
endif
|
endif
|
||||||
legacy_int = legacy_support.to_int()
|
legacy_int = legacy_support.to_int()
|
||||||
if legacy_int < 0 or legacy_int >= 8
|
if legacy_int < 0 or legacy_int >= 8
|
||||||
@ -108,12 +108,11 @@ libzstd = library('zstd',
|
|||||||
soversion: '1')
|
soversion: '1')
|
||||||
|
|
||||||
pkgconfig.generate(name: 'libzstd',
|
pkgconfig.generate(name: 'libzstd',
|
||||||
description: 'fast lossless compression algorithm library',
|
|
||||||
version: zstd_version,
|
|
||||||
filebase: 'libzstd',
|
filebase: 'libzstd',
|
||||||
libraries: [libzstd],
|
libraries: [libzstd],
|
||||||
#subdirs: ['.']
|
description: 'fast lossless compression algorithm library',
|
||||||
)
|
version: zstd_version,
|
||||||
|
url: 'http://www.zstd.net/')
|
||||||
|
|
||||||
install_headers(join_paths(library_dir, 'zstd.h'),
|
install_headers(join_paths(library_dir, 'zstd.h'),
|
||||||
join_paths(library_deprecated_dir, 'zbuff.h'),
|
join_paths(library_deprecated_dir, 'zbuff.h'),
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
option('multithread_support', type: 'boolean', value: true,
|
option('multithread_support', type: 'boolean', value: true,
|
||||||
description: 'Enable multi-threading when pthread is detected')
|
description: 'Enable multi-threading when pthread is detected')
|
||||||
option('legacy_support', type: 'string', value: '4',
|
option('legacy_support', type: 'string', value: '5',
|
||||||
description: 'Support any legacy format: true or false, or 7 to 1 for v0.7+ to v0.1+')
|
description: 'Support any legacy format: true or false, or 7 to 1 for v0.7+ to v0.1+')
|
||||||
option('build_programs', type: 'boolean', value: true,
|
option('build_programs', type: 'boolean', value: true,
|
||||||
description: 'Enable programs build')
|
description: 'Enable programs build')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user