summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Jagu <marav8@free.fr>2023-10-24 18:59:39 +0200
committerDavid Jagu <marav8@free.fr>2023-10-24 18:59:39 +0200
commit8a933c778a0eb36526bf3fc8a289e25add9ff8b0 (patch)
treeca5651174722675300163fab8ee38044bec8b6d2
parenta2dbfd6442d40676817fd197ac4557106ccf166b (diff)
downloadlibdrm-8a933c778a0eb36526bf3fc8a289e25add9ff8b0.tar.gz
libdrm-8a933c778a0eb36526bf3fc8a289e25add9ff8b0.tar.bz2
libdrm-8a933c778a0eb36526bf3fc8a289e25add9ff8b0.zip
meson: fix typo in libdrm_intel
Replace system() with cpu_family() for libdrm_intel This restore libdrm_intel to be built by default Closes: #93 Signed-off-by: David Jagu <marav8@free.fr>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index ec51777b..e203965d 100644
--- a/meson.build
+++ b/meson.build
@@ -87,7 +87,7 @@ dep_pciaccess = dependency('pciaccess', version : '>= 0.10', required : get_opti
with_intel = get_option('intel') \
.require(with_atomics, error_message : 'libdrm_intel requires atomics') \
.require(dep_pciaccess.found(), error_message : 'libdrm_intel requires libpciaccess') \
- .disable_auto_if(not host_machine.system().startswith('x86')) \
+ .disable_auto_if(not host_machine.cpu_family().startswith('x86')) \
.allowed()
summary('Intel', with_intel)