aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Build-options.md
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2019-09-19 18:13:38 +0800
committerJussi Pakkanen <jpakkane@gmail.com>2019-09-25 22:52:19 +0300
commit74d5136e5945bb73e19a78783432ad24f75c3b21 (patch)
tree9b1ebc75a6580f715077c541d22746c00175d651 /docs/markdown/Build-options.md
parent2e7f0ce55736bdb0079e4e386a1a8b041f9da9f7 (diff)
downloadmeson-74d5136e5945bb73e19a78783432ad24f75c3b21.zip
meson-74d5136e5945bb73e19a78783432ad24f75c3b21.tar.gz
meson-74d5136e5945bb73e19a78783432ad24f75c3b21.tar.bz2
environment: Don't make special case for scan-build on Linux
Versioning of executables is not related to the operating system kernel. It is possible for a Linux distribution to support multiple versions of LLVM in a way similar to FreeBSD. For example, on Debian, you can use 'apt install clang-tools-7' to install the versioned 'scan-build-7' executable without bringing the unversioned 'scan-build' into the environment. Therefore, we should not skip the version list on Linux. It also makes it consistent with the behavior of llvm dependency, which does not change the search list depending on the operating system. This commit also fixes the version suffix for Debian. Debian stops using the minor version number on the executable after version 7, so it should be 'scan-build-7', not 'scan-build-7.0'. This is a follow-up of https://github.com/mesonbuild/meson/pull/5918.
Diffstat (limited to 'docs/markdown/Build-options.md')
0 files changed, 0 insertions, 0 deletions