diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2022-02-24 08:15:01 -0700 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@sudo.ws> | 2022-02-24 08:15:01 -0700 |
commit | 8a9018c17900e44053ebfd7b2061bb9a31a7d0e0 (patch) | |
tree | 4c2ac940942356d0faf6ce801751f3b202ca2136 /configure.ac | |
parent | e372e3a49b136b741d48a75c22b4899bb8c0f61f (diff) | |
download | sudo-8a9018c17900e44053ebfd7b2061bb9a31a7d0e0.tar.gz |
Fix PVS-Studio platform check for macOS.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index abcc51563..424dd897e 100644 --- a/configure.ac +++ b/configure.ac @@ -2297,7 +2297,7 @@ if test X"$enable_pvs_studio" = X"yes"; then esac # Determine platform (currently linux or macos) - case "$host" in + case "$host_os" in x86_64-*-linux*) pvs_platform=linux64;; *86-*-linux*) pvs_platform=linux32;; darwin*) pvs_platform=macos;; |