]> git.ipfire.org Git - thirdparty/zstd.git/commit
meson: always build the zstd binary when tests are enabled 3490/head
authorEli Schwartz <eschwartz@archlinux.org>
Fri, 10 Feb 2023 04:55:09 +0000 (23:55 -0500)
committerEli Schwartz <eschwartz@archlinux.org>
Fri, 10 Feb 2023 05:33:07 +0000 (00:33 -0500)
commit97ab0e2ab60fdda78f610032408df104de20b9f1
tree18b9df9d6c3a77c5333a2d1097fe0297e1c648a8
parent183a18a45c1d69f8c42b9fcd25e6d28f9b3d75bb
meson: always build the zstd binary when tests are enabled

We need to run it for the tests, even if programs are disabled. So if
they are disabled, create a build rule for the program, but don't
install it. Just make it available for the test itself.
build/meson/meson.build
build/meson/programs/meson.build