From 5856941814b8e75f82dbd429b03506607ccd535b Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Thu, 21 Aug 2025 11:25:52 -0300 Subject: [PATCH] meson: Fix false positive in xdg-email check And do not output a warning since it is never avaiable on Windows. --- meson.build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index bf5ca6d5e7..5831befbb0 100644 --- a/meson.build +++ b/meson.build @@ -1023,13 +1023,12 @@ else xdg_email = find_program(xdg_email_path, required: false) if xdg_email.found() xdg_email_path = xdg_email.full_path() - else + email_message = '@0@ (@1@)'.format(true, xdg_email_path) + elif not xdg_email.found() and not platform_windows mail_warning = 'Xdg-email not found, but required at runtime for email sending.' warning(mail_warning) warnings += mail_warning endif - - email_message = '@0@ (@1@)'.format(true, xdg_email_path) endif