Commit 19307372 authored by Corentin Noël's avatar Corentin Noël Committed by Zeeshan Ali

meson: explicitely run python3 with custom target

The shell is otherwise failing to execute the file and makes the build fail.
parent 8a34d0ed
......@@ -144,8 +144,9 @@ interface_files = [ location_interface_xml,
# Provide a single interface file too for backwards compatiblity.
# At least gnome-settings-daemon currently relies on that.
unified_interface_xml = 'org.freedesktop.GeoClue2.xml'
python = find_program('python3')
create_interface = find_program('create-unified-xml.py')
cmd = [create_interface, '@OUTPUT@', '@INPUT@' ]
cmd = [python, create_interface, '@OUTPUT@', '@INPUT@' ]
custom_target('gclue-xml-interface',
input: interface_files,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment