summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2023-05-08 20:41:47 +0200
committerEli Schwartz <eschwartz93@gmail.com>2023-05-08 14:54:01 -0400
commitaab4a0c163fc226c048e7123b451a0e6a6f0252b (patch)
treedbcccbd081babf126aa7547e65a25f1e353693e9
parentc1fce8f60f3cbbdf72fb3b987f1d07c86b292c82 (diff)
downloadmeson-aab4a0c163fc226c048e7123b451a0e6a6f0252b.tar.gz
docs/prebuilt: fix sanity check logic in the example
-rw-r--r--docs/markdown/Shipping-prebuilt-binaries-as-wraps.md2
1 files changed, 1 insertions, 1 deletions
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