From: Eli Schwartz Date: Tue, 10 Aug 2021 03:19:52 +0000 (-0400) Subject: meson: avoid rebuilding some libzstd files in the test programs X-Git-Tag: v1.5.4^2~216^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df6eefb3bbe18901875ffb7eef5bdb5e84066d7e;p=thirdparty%2Fzstd.git 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. --- 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,