1
0
mirror of https://github.com/facebook/zstd.git synced 2025-03-07 09:26:03 +02:00

Use -Dlegacy_level build option to control ZSTD_LEGACY_SUPPORT macro in test

This commit is contained in:
Lzu Tao 2018-12-03 00:36:40 +07:00
parent 437ec5f47f
commit 65507666bb

View File

@ -110,7 +110,8 @@ invalidDictionaries = executable('invalidDictionaries',
legacy_sources = [join_paths(zstd_rootdir, 'tests/legacy.c')]
legacy = executable('legacy',
legacy_sources,
c_args: '-DZSTD_LEGACY_SUPPORT=4',
# Use -Dlegacy_level build option to control it
#c_args: '-DZSTD_LEGACY_SUPPORT=4',
dependencies: [ libzstd_dep ],
install: false)