Skip to content

meson: Fix disabling of the python support

Cannot call python.dependency() if the python module was not found.

If you build with -Dpython=disabled, you get:

Program g-ir-scanner found: YES (/home/nirbheek/projects/repos/cerbero.git/build/dist/linux_x86_64/bin/g-ir-scanner)
find_installation skipped: feature python disabled

meson.build:132:2: ERROR:  Unknown method "dependency" in object.

A full log can be found at /path/to/_builddir/meson-logs/meson-log.txt
Edited by Nirbheek Chauhan

Merge request reports

Loading