]> git.ipfire.org Git - thirdparty/zstd.git/commit
meson: Call meson.override_dependency() if Meson is new enough 4472/head
authorBenjamin Gilbert <bgilbert@backtick.net>
Thu, 28 Aug 2025 23:50:34 +0000 (18:50 -0500)
committerBenjamin Gilbert <bgilbert@backtick.net>
Thu, 28 Aug 2025 23:50:34 +0000 (18:50 -0500)
commitba59aeb67408c5ca6979e6d971915c86cfbcee90
treed01210d78240d73ebe9c013681e00c3e9edb692e
parent22b44831637be02bff6a63f85e88671e4cb70460
meson: Call meson.override_dependency() if Meson is new enough

This tells Meson that we intend libzstd_dep to be used by a parent project
if the parent looks for a dependency named "libzstd".  Without this, the
mapping from "libzstd" to our variable libzstd_dep must be encoded in the
Meson wrap file or in the parent's meson.build.
build/meson/lib/meson.build