meson: Fix python not being found on MacPorts environment

Let's use the same check as babl and GEGL meson.build, which
is able to find python when it is an Apple .framework as well.
This commit is contained in:
Bruno Lopes 2026-01-02 15:07:31 -03:00
parent 50c521f495
commit 9be1af2b1a

View file

@ -130,7 +130,7 @@ versionconfig.set('GIMP_API_VERSION', gimp_api_version)
pkgconfig = import('pkgconfig')
i18n = import('i18n')
gnome = import('gnome')
pythonmod = import('python')
python = import('python').find_installation()
simd = import('unstable-simd')
fs = import('fs')