diff mbox series

[v6,07/13,FIXUP] meson: Replace deprecated get_cross_property() with get_external_property()

Message ID 20220829013327.5791-8-laurent.pinchart@ideasonboard.com
State New
Headers show
Series Add support for meson building | expand

Commit Message

Laurent Pinchart Aug. 29, 2022, 1:33 a.m. UTC
The get_cross_property() function is deprecated in favour of
get_external_property(), replace usage of the former with the latter.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meson.build b/meson.build
index 50fad53c6f26..fce8a09b390b 100644
--- a/meson.build
+++ b/meson.build
@@ -13,7 +13,7 @@  cpp = meson.get_compiler('cpp')
 have_m32 = cc.has_link_argument('-m32')
 have_visibility = cc.has_argument('-fvisibility=hidden')
 
-sys_root = meson.get_cross_property('sys_root', '/')
+sys_root = meson.get_external_property('sys_root', '/')
 
 fs = import('fs')
 i18n = import('i18n')