diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2021-02-25 13:45:23 -0800 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2021-02-25 15:18:39 -0800 |
| commit | aa4efc709e8e6773830d47a4a0ecce0313158a57 (patch) | |
| tree | 5504bafad061c76cd88f3ccc5223b1f4cfee6dec /docs/markdown/Cross-compilation.md | |
| parent | 542dea25710fec8df0430d9b777bb15414e15b22 (diff) | |
| download | meson-aa4efc709e8e6773830d47a4a0ecce0313158a57.tar.gz | |
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
Diffstat (limited to 'docs/markdown/Cross-compilation.md')
| -rw-r--r-- | docs/markdown/Cross-compilation.md | 2 |
1 files changed, 1 insertions, 1 deletions
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' ``` |
