From e81900635c95629f4bf3ee4b4dae852ba6b6d60f Mon Sep 17 00:00:00 2001 From: Brandon Maier Date: Mon, 18 Mar 2024 17:04:19 +0000 Subject: [PATCH] meson: fix pylibfdt missing dependency on libfdt The python library requires libfdt to build. This would intermittently fail depending on what order targets compiled. Signed-off-by: Brandon Maier Signed-off-by: David Gibson --- pylibfdt/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/pylibfdt/meson.build b/pylibfdt/meson.build index b3f5ebd..2179f4e 100644 --- a/pylibfdt/meson.build +++ b/pylibfdt/meson.build @@ -4,6 +4,7 @@ setup_py = [setup_py, '--quiet', '--top-builddir', meson.project_build_root()] custom_target( 'pylibfdt', input: 'libfdt.i', + depends: libfdt, output: '_libfdt.so', command: [setup_py, 'build_ext', '--build-lib=' + meson.current_build_dir()], build_by_default: true,