NetworkManager: fix cross pcc*

This commit is contained in:
Jürgen Buchmüller 2019-04-30 15:59:25 +02:00
parent 8f08bcc6b2
commit 5d304dd01f

View file

@ -13,7 +13,7 @@ Upstream: No, not upstreamable since this is very specific to the Void setup
test(
--- libnm/meson.build
+++ libnm/meson.build
@@ -244,7 +244,23 @@ if enable_introspection
@@ -244,7 +244,21 @@ if enable_introspection
)
endif
@ -24,10 +24,8 @@ Upstream: No, not upstreamable since this is very specific to the Void setup
+ qemu_arch = 'i386'
+ elif arch == 'x86_64'
+ qemu_arch = 'x86_64'
+ elif arch == 'arm'
+ qemu_arch = 'arm'
+ elif arch == 'aarch64'
+ qemu_arch = 'aarch64'
+ else
+ qemu_arch = host_machine.cpu_family()
+ endif
+ qemu = '/usr/bin/qemu-' + qemu_arch + '-static'
+ qemu_python3_cmd = qemu + ' -L @XBPS_CROSS_BASE@ @XBPS_CROSS_BASE@/bin/python3'