From 29118f47bfbec2aa6e206cdd8d192c9ea3a2b65d Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 3 Apr 2025 17:21:54 +0200 Subject: [PATCH] dnsdist: Do not try to get the version/path of Python if not found --- pdns/dnsdistdist/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/dnsdistdist/meson.build b/pdns/dnsdistdist/meson.build index 070aff8f00..a230c693e0 100644 --- a/pdns/dnsdistdist/meson.build +++ b/pdns/dnsdistdist/meson.build @@ -568,10 +568,10 @@ py = import('python') python = py.find_installation('python3', modules: 'venv', required: false) summary('Python', python.found(), bool_yn: true, section: 'Manual Pages') -summary('Path', python.full_path(), section: 'Manual Pages') -summary('Version', python.version(), section: 'Manual Pages') if get_option('man-pages') and python.found() + summary('Path', python.full_path(), section: 'Manual Pages') + summary('Version', python.version(), section: 'Manual Pages') generated_man_pages = [] foreach tool, info: tools if 'manpages' in info -- 2.47.2