pipewire/spa/tools/meson.build
Pauli Virtanen 5fa137cc0d meson.build: make spa-json-dump available for subprojects
Add override that provides host binary for subprojects to use.

Also fix cross-compilation to use the host binary.
2025-07-23 12:19:21 +00:00

17 lines
574 B
Meson

executable('spa-inspect', 'spa-inspect.c',
dependencies : [ spa_dep, dl_lib ],
install : true)
executable('spa-monitor', 'spa-monitor.c',
dependencies : [ spa_dep, dl_lib ],
install : true)
spa_json_dump = executable('spa-json-dump', 'spa-json-dump.c',
dependencies : [ spa_dep ],
install : true)
spa_json_dump_exe = executable('spa-json-dump-native', 'spa-json-dump.c',
dependencies : [ spa_inc_dep ],
native : true)
meson.override_find_program('spa-json-dump', spa_json_dump_exe)