mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 18:38:07 +00:00
build: Use host machine family from meson
This commit is contained in:
+1
-2
@@ -297,8 +297,7 @@ if get_option('tod')
|
|||||||
'fake_test_dev_tod_current': meson.current_build_dir(),
|
'fake_test_dev_tod_current': meson.current_build_dir(),
|
||||||
}
|
}
|
||||||
|
|
||||||
machine = run_command(meson.get_compiler('c'), '-dumpmachine').stdout().strip()
|
if host_machine.cpu_family() == 'x86_64'
|
||||||
if machine.startswith('x86_64-')
|
|
||||||
tod_dirs += {
|
tod_dirs += {
|
||||||
'fake_test_dev_tod_v1': meson.current_source_dir() / 'tod-drivers',
|
'fake_test_dev_tod_v1': meson.current_source_dir() / 'tod-drivers',
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user