From df6eefb3bbe18901875ffb7eef5bdb5e84066d7e Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 9 Aug 2021 23:19:52 -0400 Subject: [PATCH] meson: avoid rebuilding some libzstd files in the test programs The poolTests program already linked to libzstd, and later to libtestcommon with included libzstd objects. So this was redundant. Minus 4 compile steps. --- build/meson/tests/meson.build | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/build/meson/tests/meson.build b/build/meson/tests/meson.build index 14f45982a..cf876a395 100644 --- a/build/meson/tests/meson.build +++ b/build/meson/tests/meson.build @@ -116,11 +116,7 @@ decodecorpus = executable('decodecorpus', dependencies: [ testcommon_dep, libm_dep ], install: false) -poolTests_sources = [join_paths(zstd_rootdir, 'tests/poolTests.c'), - join_paths(zstd_rootdir, 'lib/common/pool.c'), - join_paths(zstd_rootdir, 'lib/common/threading.c'), - join_paths(zstd_rootdir, 'lib/common/zstd_common.c'), - join_paths(zstd_rootdir, 'lib/common/error_private.c')] +poolTests_sources = [join_paths(zstd_rootdir, 'tests/poolTests.c')] poolTests = executable('poolTests', poolTests_sources, include_directories: test_includes, -- 2.47.3