mirror of
https://github.com/systemd/systemd.git
synced 2025-03-28 02:50:16 +03:00
meson: disable export-dbus-interfaces target when cross-compiling
ERROR: Cannot use target systemd as a generator because it is built for the host machine and no exe wrapper is defined or needs_exe_wrapper is true. You might want to set `native: true` instead to build it for the build machine.
This commit is contained in:
parent
a5e6986ac0
commit
0628d48ec2
14
meson.build
14
meson.build
@ -3967,12 +3967,14 @@ run_target(
|
||||
alias_target('update-dbus-docs', update_dbus_docs)
|
||||
alias_target('update-man-rules', update_man_rules)
|
||||
|
||||
custom_target(
|
||||
'export-dbus-interfaces',
|
||||
output : dbus_interfaces_dir_name,
|
||||
install : dbus_interfaces_dir != 'no',
|
||||
install_dir : dbus_interfaces_dir_parent,
|
||||
command : [export_dbus_interfaces_py, '@OUTPUT@', dbus_programs])
|
||||
if not meson.is_cross_build()
|
||||
custom_target(
|
||||
'export-dbus-interfaces',
|
||||
output : dbus_interfaces_dir_name,
|
||||
install : dbus_interfaces_dir != 'no',
|
||||
install_dir : dbus_interfaces_dir_parent,
|
||||
command : [export_dbus_interfaces_py, '@OUTPUT@', dbus_programs])
|
||||
endif
|
||||
|
||||
############################################################
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user