From d213503bb364475de0c2466b2e44d8c2015ad4e5 Mon Sep 17 00:00:00 2001 From: John Date: Tue, 26 Jan 2021 20:04:43 +0100 Subject: [PATCH] NetworkManager: fix cross build --- srcpkgs/NetworkManager/patches/fix-cross-gir.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/NetworkManager/patches/fix-cross-gir.patch b/srcpkgs/NetworkManager/patches/fix-cross-gir.patch index 2d0db910ad..c283d4dc10 100644 --- a/srcpkgs/NetworkManager/patches/fix-cross-gir.patch +++ b/srcpkgs/NetworkManager/patches/fix-cross-gir.patch @@ -24,7 +24,7 @@ index 51ca46d..f14d861 100644 - generate_setting_docs = join_paths(meson.current_source_dir(), 'generate-setting-docs.py') + if meson.is_cross_build() + qemu = '/usr/bin/qemu-@XBPS_TARGET_QEMU_MACHINE@-static' -+ qemu_python3_cmd = qemu + ' -L @XBPS_CROSS_BASE@ @XBPS_CROSS_BASE@/bin/python3' ++ qemu_python3_cmd = qemu + ' -L @XBPS_CROSS_BASE@ @XBPS_CROSS_BASE@/usr/bin/python3' + generate_setting_docs = ['sh', '-c', qemu_python3_cmd, join_paths(meson.current_source_dir(), 'generate-setting-docs.py')] + else + generate_setting_docs = [python.path(), join_paths(meson.current_source_dir(), 'generate-setting-docs.py')]