From aa4efc709e8e6773830d47a4a0ecce0313158a57 Mon Sep 17 00:00:00 2001 From: Dylan Baker Date: Thu, 25 Feb 2021 13:45:23 -0800 Subject: deprecated `meson.get_cross_property` It's a pure subset of `get_external_property`, and has odd behavior in host == build configurations. `get_external_property` is clear, and uses the standard `native : bool` syntax to control host vs build properties --- docs/markdown/Cross-compilation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/markdown/Cross-compilation.md') diff --git a/docs/markdown/Cross-compilation.md b/docs/markdown/Cross-compilation.md index d4fb074a7..4410c0363 100644 --- a/docs/markdown/Cross-compilation.md +++ b/docs/markdown/Cross-compilation.md @@ -315,7 +315,7 @@ somekey = 'somevalue' then you can access that using the `meson` object like this: ```meson -myvar = meson.get_cross_property('somekey') +myvar = meson.get_external_property('somekey') # myvar now has the value 'somevalue' ``` -- cgit v1.2.3