]> git.ipfire.org Git - thirdparty/zstd.git/commit
meson: fix broken commit that broke the build
authorEli Schwartz <eschwartz@archlinux.org>
Fri, 16 Dec 2022 00:48:22 +0000 (19:48 -0500)
committerEli Schwartz <eschwartz@archlinux.org>
Fri, 16 Dec 2022 01:08:28 +0000 (20:08 -0500)
commite8401e9e8d84c7dab40677cc1687138135e86901
tree54c356489543c2277474f7f439808dc91c23c93d
parent26e8c65aab4734eddd4c8fe5a48378aeb2800e69
meson: fix broken commit that broke the build

In commit 031de3c69ccbf3282ed02fb49369b476730aeca8 some code was added
that returned a boolean, but was treated as if it returned a dependency
object. This wasn't tested and could not work. Moreover, zstd no longer
built at all unless the entire programs directory was disabled and not
even evaluated.

Fix the return type checking.
build/meson/programs/meson.build