From aab4a0c163fc226c048e7123b451a0e6a6f0252b Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Mon, 8 May 2023 20:41:47 +0200 Subject: docs/prebuilt: fix sanity check logic in the example --- docs/markdown/Shipping-prebuilt-binaries-as-wraps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/markdown/Shipping-prebuilt-binaries-as-wraps.md b/docs/markdown/Shipping-prebuilt-binaries-as-wraps.md index 13cd0c092..a49f45e60 100644 --- a/docs/markdown/Shipping-prebuilt-binaries-as-wraps.md +++ b/docs/markdown/Shipping-prebuilt-binaries-as-wraps.md @@ -17,7 +17,7 @@ library at the top level and headers in a subdirectory called project('bob', 'c') # Do some sanity checking so that meson can fail early instead of at final link time -if not (host_machine.system() == 'windows' or host_machine.cpu_family() == 'x86_64') +if not (host_machine.system() == 'windows' and host_machine.cpu_family() == 'x86_64') error('This wrap of libbob is a binary wrap for x64_64 Windows, and will not work on your system') endif -- cgit v1.2.1