build/windows: Alternative approach to Inno reading of config*.h

Closes: #14101

Partially reverts: f69dd75a17
This commit is contained in:
Bruno Lopes 2025-05-26 16:30:34 -03:00
parent 868d566c7f
commit c9f77c7228
No known key found for this signature in database
6 changed files with 23 additions and 61 deletions

View file

@ -41,7 +41,7 @@ endforeach
# Fallback fix to the problem of non-configured interpreters (needed by MSIX)
if platform_windows and not meson.is_cross_build() and python.found()
python_config = configuration_data()
if gimp_unstable or not release
if not stable or not release
#python.exe is prefered in unstable versions because of error output
python_config.set('PYTHON_EXE', 'python.exe')
else